3.4.3. Updating CLI plugins with the CLI Manager Operator
You can update a plugin that was installed for the OpenShift CLI (oc) with the CLI Manager Operator and Krew to keep your plugins current with the latest features.
Prerequisites
- You have installed Krew by following the installation procedure in the Krew documentation.
- The CLI Manager Operator is installed.
- The custom index has been added to Krew by the cluster administrator.
- The plugin updates have been added to the CLI Manager Operator by the cluster administrator.
- The plugin you are updating is already installed.
Procedure
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