Automic VaultAutomic Vault

brew

kubernetes-cli を Homebrew, chocolatey, winget, apk, apt, MacPorts, Nix, pacman, scoop でインストール

kubernetes-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

エージェント安全性

エージェント安全性の回答

kubernetes-cli provides kubectl, which controls Kubernetes clusters and workloads.

認証情報アクセス

Reads kubeconfig, exec credentials, cluster tokens, and namespace context.

リモート変更

Can create, patch, delete, scale, and exec into cluster workloads.

公開/成果物リスク

Can apply manifests that deploy or expose application artifacts.

推奨コントロール

Gate kubectl apply, delete, patch, exec, port-forward, and context changes.

エージェント利用ガイダンス

Allow get/describe with safe contexts; require approval for cluster writes and secret reads.

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install kubernetes-cli

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install kubectl

MacPorts ports tree · sysutils/kubectl/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add kubectl

Alpine Linux edge package indexes · kubectl · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install kubectl

Debian stable package indexes · kubectl · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#kubectl

nixpkgs package indexes · pkgs/by-name/ku/kubectl/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S kubectl

Arch Linux sync databases · kubectl · ソース: geo.mirror.pkgbuild.com

Windows

Chocolatey確認済み · 92%
choco install kubernetes-cli

Chocolatey community package catalog · kubernetes-cli · ソース: community.chocolatey.org

Windows Package Manager確認済み · 92%
winget install --id Kubernetes.kubectl -e

Windows Package Manager source index · Kubernetes.kubectl · ソース: cdn.winget.microsoft.com

Scoop確認済み · 92%
scoop install main/kubectl

Scoop official bucket manifest trees · bucket/kubectl.json · ソース: api.github.com

概要

パッケージ概要

Kubernetes command-line interface

コマンドとエイリアス

  • kubectl

履歴

プロジェクトの歴史と使われ方

kubectl is the Kubernetes command-line client and the binary packaged by Homebrew as kubernetes-cli. It is the standard local interface for sending requests to the Kubernetes control plane, reading and writing objects, inspecting resources, and driving day-to-day cluster operations.

プロジェクトの歴史

Kubernetes began as an open source Google project in 2014 and reached version 1.0 on July 21, 2015, alongside Google's announcement that the project would be donated to the newly formed Cloud Native Computing Foundation. kubectl evolved with the project as the human-facing client for the Kubernetes API.

採用の歴史

As Kubernetes became the common substrate for cloud-native infrastructure, kubectl became one of the most widely installed operations binaries in developer and platform-engineering toolchains. Its packaging across Homebrew, Linux distributions, Chocolatey, Scoop, winget, Nix, MacPorts, and other systems reflects that it is both a developer tool and an infrastructure administration tool.

使われ方

kubectl reads kubeconfig data to select a cluster, user, namespace, and context, then communicates with the API server. Kubernetes documentation says kubectl looks for config in $HOME/.kube/config by default, while KUBECONFIG and --kubeconfig allow explicit or merged configuration files.

パッケージ好きにとっての重要性

The kubernetes-cli package is significant because it decouples the local client from a full Kubernetes installation. Package managers let users pin or upgrade the client, match cluster version-skew policy, and keep scripts using a predictable kubectl binary without installing control-plane components.

タイムライン

  • 2014: Kubernetes was released as an open source project.
  • 2015-07-21: Kubernetes 1.0 was released and the project was donated to the CNCF.
  • 2023-08-15: Kubernetes documented pkgs.k8s.io as community-owned package repositories for Kubernetes packages.
  • 2025-04-23: Kubernetes v1.33 was released.
  • 2025-08-27: Kubernetes v1.34 was released.

Related projects

  • kubectl is related to the Kubernetes API server, kubeconfig, client-go, kubeadm, kustomize, Helm, kubectl plugins, and the broader SIG CLI tooling ecosystem.

セキュリティ状態

リスクレベル: orange

cluster orchestration infrastructure.

リスク分類器

リスク orange · 信頼度 高 · infrastructure

理由

  • cluster orchestration infrastructure

信号

  • override:kubernetes-cli

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 3 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.kube/config

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.kube/config

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
kubectlcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.36.3
マネージャ更新日2026-07-23
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/kubernetes/kubernetes

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:kubernetes-cli
バージョン1.36.3
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/kubernetes-cli
ホームページhttps://kubernetes.io/docs/reference/kubectl/
リポジトリhttps://github.com/kubernetes/kubernetes
上流ドキュメントhttps://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig
ライセンスApache-2.0
ソースアーカイブhttps://github.com/kubernetes/kubernetes.git
最終更新2026-07-23T03:43:20Z
Pulseupdated
ビルド依存関係bash, coreutils, go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekubernetes-cli
Aliases
  • kubectl
  • kubernetes-cli@1.36
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Chocolatey95%

kubernetes-cli

choco install kubernetes-cli
  • normalized package name match
  • 一致条件: Kubernetes Cli
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: kubernetes-cli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kubectx'
winget95%

Kubernetes.kubectl

winget install --id Kubernetes.kubectl -e
  • normalized package name match
  • 一致条件: Kubernetes Cli
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Kubernetes.kubectl from https://cdn.winget.microsoft.com/cache/source.msix
MacPorts94%

kubectl

sudo port install kubectl
  • installed executable or alias match
  • 一致条件: Kubectl
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/kubectl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

kubectl 1.32.3+ds-2

Command-line tool for controlling Kubernetes clusters

https://kubernetes.io/

sudo apt install kubectl
  • Section: admin
  • Architecture: amd64
  • Source Package: kubernetes
  • 1 依存関係
  • installed executable or alias match
  • 一致条件: Kubectl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: kubectl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

kubectl

nix profile install nixpkgs#kubectl
  • installed executable or alias match
  • 一致条件: Kubectl
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ku/kubectl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk92%

kubectl 1.36.1-r0

Kubernetes - kubectl

https://kubernetes.io/

sudo apk add kubectl
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: kubernetes
  • 1 提供
  • installed executable or alias match
  • 一致条件: Kubectl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kubectl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman92%

kubectl 1.36.1-1

A command line tool for communicating with a Kubernetes API server

https://kubernetes.io/

sudo pacman -S kubectl
  • License: Apache-2.0
  • Architecture: x86_64
  • 1 依存関係
  • installed executable or alias match
  • 一致条件: Kubectl
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: kubectl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Scoop92%

main/kubectl

scoop install main/kubectl
  • installed executable or alias match
  • 一致条件: Kubectl
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/kubectl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment