Managing CLI plugins with Krew
You can install a plugin for the OpenShift CLI (oc
) with Krew.
Prerequisites
- You have installed Krew by following the in the Krew documentation.
Procedure
To list all available plugins, run the following command:
To list all plugins that were installed by Krew, run the following command:
$ oc krew list
You can update a plugin that was installed for the OpenShift CLI () with Krew.
Prerequisites
You have installed Krew by following the in the Krew documentation.
You have installed a plugin for the OpenShift CLI with Krew.
Procedure
-
$ oc krew upgrade
You can uninstall a plugin that was installed for the OpenShift CLI () with Krew.
Prerequisites
You have installed Krew by following the in the Krew documentation.
You have installed a plugin for the OpenShift CLI with Krew.
Procedure
To uninstall a plugin, run the following command: