1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/cli-krew-update-plugin.adoc
2023-10-30 10:13:25 -04:00

31 lines
806 B
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/openshift_cli/installing-cli-plugins-krew.adoc
:_mod-docs-content-type: PROCEDURE
[id="cli-krew-update-plugin_{context}"]
= Updating a CLI plugin with Krew
You can update a plugin that was installed for the OpenShift CLI (`oc`) with Krew.
.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.
* You have installed a plugin for the OpenShift CLI with Krew.
.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
----