Basic krew commands

Basic krew commands
Photo by Towfiqu barbhuiya / Unsplash

This article gives you an easy overview of the most basic commands you'll need to know of when working with krew - the plugin manager for kubectl.

Update package list

kubectl krew update

List all available plugins

kubectl krew search

Search the plugin list by keyword

kubectl krew search ${KEYWORD}

Learn more about a plugin

kubectl krew info ${PLUGIN_NAME}

Install a plugin

kubectl krew install ${PLUGIN_NAME}

List installed plugins

kubectl krew list

Upgrade all installed plugins

kubectl krew upgrade

Upgrade only some installed plugins

kubectl krew upgrade ${PLUGIN_NAME_1} ${PLUGIN_NAME_2} ...

Uninstall a plugin

kubectl krew uninstall ${PLUGIN_NAME}
💡
You'll find a curated list of awesome kubectl krew in this article.