$ oc krew search
You can use Krew to install and manage plugins for the OpenShift cli (oc
).
Using Krew to install and manage plugins for the OpenShift cli is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
You can install a plugin for the OpenShift cli (oc
) with Krew.
You have installed Krew by following the installation procedure in the Krew documentation.
To list all available plugins, run the following command:
$ oc krew search
To get information about a plugin, run the following command:
$ oc krew info <plugin_name>
To install a plugin, run the following command:
$ oc krew install <plugin_name>
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 (oc
) with Krew.
You have installed Krew by following the installation procedure in the Krew documentation.
You have installed a plugin for the OpenShift cli with Krew.
To update a single plugin, run the following command:
$ oc krew upgrade <plugin_name>
To update all plugins that were installed by Krew, run the following command:
$ oc krew upgrade
You can uninstall a plugin that was installed for the OpenShift cli (oc
) with Krew.
You have installed Krew by following the installation procedure in the Krew documentation.
You have installed a plugin for the OpenShift cli with Krew.
To uninstall a plugin, run the following command:
$ oc krew uninstall <plugin_name>