whatisgithub

What is krew?

kubernetes-sigs/krew — explained in plain English

Analysis updated 2026-06-24

6,972GoAudience · ops devopsComplexity · 2/5Setup · easy

In one sentence

Krew is a package manager for kubectl plugins, it lets you browse, install, and update extensions to the Kubernetes command-line tool the same way Homebrew manages macOS software, with 200+ plugins available.

Mindmap

mindmap
  root((repo))
    What it does
      Install kubectl plugins
      Update plugins
      Publish plugins
    How it works
      Plugin index
      Binary management
      Cross-platform support
    Use cases
      Extend kubectl
      Plugin discovery
      Distribute own plugin
    Audience
      Kubernetes operators
      Platform engineers
    Similar tools
      Homebrew for macOS
      apt for Debian
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Install a kubectl plugin from a catalog of 200+ options with a single krew install command instead of manually placing binaries.

USE CASE 2

Keep all your kubectl plugins up to date without tracking versions or downloading files manually.

USE CASE 3

Package and publish your own kubectl plugin so others can discover and install it through Krew.

What is it built with?

GoKubernetes

How does it compare?

kubernetes-sigs/krewbitfield/scriptaceberg/watchyourlan
Stars6,9726,9696,982
LanguageGoGoGo
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audienceops devopsdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Install Krew itself first by following the documentation site, after that, each plugin installs in one command.

So what is it?

Krew is a package manager for kubectl plugins. kubectl is the command-line tool used to interact with Kubernetes clusters, which are systems for running and managing containerized applications at scale. Plugins extend kubectl with extra commands beyond what it ships with by default, and Krew is the tool that finds, installs, and manages those plugins. Without Krew, installing a kubectl plugin typically means downloading a binary, placing it in the right location on your system, and keeping track of updates yourself. Krew handles all of that in a consistent way, similar to how Homebrew works for macOS software or apt works for Debian Linux packages. Over 200 plugins are available through Krew's plugin index. For people who build kubectl plugins, Krew also provides a way to package and distribute a plugin across multiple operating systems and CPU architectures, and makes the plugin discoverable to the broader kubectl user community. The README is brief and points to the project's documentation site for installation steps, a quickstart guide, and a full user guide. There are also contributor-facing documents in the repository covering the plugin lifecycle and architectural decisions made during early development, though some of those documents are noted as potentially out of date. Krew is a Kubernetes SIG (Special Interest Group) project, maintained under the kubernetes-sigs GitHub organization. Community support happens on Kubernetes Slack channels and a mailing list.

Copy-paste prompts

Prompt 1
How do I install Krew on macOS and then use it to install the kubectl ctx and ns plugins for quickly switching clusters and namespaces?
Prompt 2
I built a kubectl plugin binary. Walk me through the steps to package it for Krew, write the plugin manifest, and submit it to the plugin index.
Prompt 3
Show me the krew commands to list all installed kubectl plugins, update them all to the latest version, and uninstall one I no longer need.
Prompt 4
What kubectl plugins are available through Krew for debugging pods and services in a Kubernetes cluster?

Frequently asked questions

What is krew?

Krew is a package manager for kubectl plugins, it lets you browse, install, and update extensions to the Kubernetes command-line tool the same way Homebrew manages macOS software, with 200+ plugins available.

What language is krew written in?

Mainly Go. The stack also includes Go, Kubernetes.

How hard is krew to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is krew for?

Mainly ops devops.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.