1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/cli-manager-updating-plugin.adoc
2024-11-19 20:30:45 +00:00

34 lines
1007 B
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/cli_manager/cli-manager-using.adoc
:_mod-docs-content-type: PROCEDURE
[id="cli-manager-updating-plugin_{context}"]
= Updating CLI plugins with the {cli-manager}
You can update a plugin that was installed for the OpenShift CLI (`oc`) with the {cli-manager}.
.Prerequisites
* You have installed Krew by following the link:https://krew.sigs.k8s.io/docs/user-guide/setup/install/[installation procedure] in the Krew documentation.
* The {cli-manager} is installed.
* The custom index has been added to Krew by the cluster administrator.
* The plugin updates have been added to the {cli-manager} by the cluster administrator.
* The plugin you are updating is already installed.
.Procedure
* To update a single plugin, run the following command:
+
[source,terminal]
----
$ oc krew upgrade <plugin_name>
----
* To update all plugins that were installed by Krew, run the following command:
+
[source,terminal]
----
$ oc krew upgrade
----