Automic VaultAutomic Vault

brew

krew を Homebrew, MacPorts, Nix, pacman, scoop, winget, apk でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install krew

local Homebrew formula metadata

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

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

Windows

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

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

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

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

概要

パッケージ概要

Package manager for kubectl plugins

コマンドとエイリアス

  • kubectl-krew

履歴

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

Krew is the Kubernetes SIG CLI package manager for kubectl plugins. It is package-nerd significant because it brings a Homebrew-like install, search, update, and index model inside the kubectl plugin ecosystem.

プロジェクトの歴史

The krew repository was created on 2018-07-12, and the first v0.1.0-alpha.1 release was published on 2018-07-30. The project README describes Krew as a package manager for kubectl plugins that helps users discover, install, and manage plugins, and helps plugin developers package and distribute plugins across platforms.

Krew exists because kubectl plugins are ordinary executables named with the kubectl- prefix and found on PATH. Kubernetes documentation describes that plugin mechanism and identifies Krew as a SIG CLI-maintained way to discover and install community plugins.

採用の歴史

Krew became the de facto index-driven distribution channel for kubectl plugins because it solved discovery and update management for a plugin system that otherwise only specifies executable naming. The Kubernetes blog recommended Krew in 2020 for plugin installation experience and discoverability.

The Krew README says that more than 200 kubectl plugins were available through Krew in the documentation state used for this 2026-07-01 batch, showing a mature plugin catalog rather than a single-tool installer.

使われ方

Users install Krew as the kubectl-krew plugin, add its bin directory to PATH, and then run commands such as kubectl krew search, kubectl krew install, kubectl krew list, kubectl krew update, and kubectl krew upgrade.

Plugin authors package manifests in the krew-index repository so their kubectl plugins can be discovered and installed consistently on Linux, macOS, and Windows.

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

Krew is a package manager distributed as a plugin for the tool whose plugins it manages, which makes it a neat recursive packaging artifact. It also codifies an index and lifecycle around kubectl plugins without changing kubectl's intentionally simple PATH-based plugin contract.

タイムライン

  • 2018-07-12: The kubernetes-sigs/krew repository was created.
  • 2018-07-30: Krew v0.1.0-alpha.1 was released.
  • 2020-02-28: The Kubernetes blog recommended Krew for kubectl plugin distribution and discoverability.
  • 2026-02-26: Krew v0.5.0 was released.

Related projects

  • kubectl is the host CLI whose plugin convention Krew uses. krew-index is the companion plugin index. Kubernetes SIG CLI is the community home for the project.

セキュリティ状態

リスクレベル: orange

infrastructure mutation or orchestration signal.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • infrastructure mutation or orchestration signal

信号

  • text:package manager

インストール挙動

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

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://github.com/kubernetes-sigs/krew

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:krew
バージョン0.5.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/krew
ホームページhttps://sigs.k8s.io/krew/
リポジトリhttps://github.com/kubernetes-sigs/krew
上流ドキュメントhttps://krew.sigs.k8s.io/docs
ライセンスApache-2.0
ソースアーカイブhttps://github.com/kubernetes-sigs/krew.git
最終更新2026-06-22T14:03:53-07:00
Pulseupdated
依存関係kubernetes-cli
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekrew
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

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

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

Nix95%

krew

nix profile install nixpkgs#krew
  • normalized package name match
  • 一致条件: Krew
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/kr/krew/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

krew 0.5.0-1

Find and install kubectl plugins

https://github.com/kubernetes-sigs/krew

sudo pacman -S krew
  • License: Apache-2.0
  • Architecture: x86_64
  • 3 依存関係
  • normalized package name match
  • 一致条件: Krew
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: krew from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

krew

sudo port install krew
  • normalized package name match
  • 一致条件: Krew
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/krew/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/krew

scoop install main/krew
  • normalized package name match
  • 一致条件: Krew
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/krew.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Kubernetes.krew

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

kubectl-krew 0.5.0-r2

Find and install kubectl plugins

https://krew.sigs.k8s.io/

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

ソース経路

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

このページは 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment