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-krew-update-plugin.adoc

31 lines
802 B
Plaintext
Raw Normal View History

// Module included in the following assemblies:
//
// * cli_reference/openshift_cli/installing-cli-plugins-krew.adoc
:_content-type: PROCEDURE
[id="cli-krew-update-plugin_{context}"]
= Updating a CLI plug-in with Krew
You can update a plug-in 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 plug-in for the OpenShift CLI with Krew.
.Procedure
* To update a single plug-in, run the following command:
+
[source,terminal]
----
$ oc krew upgrade <plugin_name>
----
* To update all plug-ins that were installed by Krew, run the following command:
+
[source,terminal]
----
$ oc krew upgrade
----