Automic VaultAutomic Vault

brew

Install krew with Homebrew, MacPorts, Nix, pacman, scoop, winget, apk

Package manager for kubectl plugins. Version 0.5.0 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install krew

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install krew

MacPorts ports tree · sysutils/krew/Portfile · source: api.github.com

Windows

Scoopverified · 92%
scoop install main/krew

Scoop official bucket manifest trees · bucket/krew.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id Kubernetes.krew -e

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

overview

Package summary

Package manager for kubectl plugins

Commands and aliases

  • kubectl-krew

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:package manager

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
kubectl-krewcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.5.0
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:krew
Version0.5.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/krew
Homepagehttps://sigs.k8s.io/krew/
Repositoryhttps://github.com/kubernetes-sigs/krew
Upstream docshttps://krew.sigs.k8s.io/docs
LicenseApache-2.0
Source archivehttps://github.com/kubernetes-sigs/krew.git
Last updated2026-06-22T14:03:53-07:00
Pulseupdated
Dependencieskubernetes-cli
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

krew

nix profile install nixpkgs#krew
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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