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
2025-12-16 20:26:20 +00:00

35 lines
1.1 KiB
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}
[role="_abstract"]
You can update a plugin that was installed for the OpenShift CLI (`oc`) with the {cli-manager} and Krew to keep your plugins current with the latest features.
.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
----