Listing Installed Plugins

You can list all installed kubectl plugins (including those not installed via Krew) using:

$ kubectl plugin list

To list all plugins installed via Krew, run:

$ kubectl krew list

Backing up plugin list

When you pipe or redirect kubectl krew list command’s output to another file or command, it will return a list of plugin names installed, e.g.:

$ kubectl krew list | tee backup.txt

You can then install the list of plugins from a file by feeding the file to the install command over standard input (stdin):

$ kubectl krew install < backup.txt
← User Guide