You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can install a plug-in for the OpenShift CLI (`oc`) with Krew.
10
+
11
+
.Prerequisites
12
+
13
+
* You have installed Krew by following the link:https://krew.sigs.k8s.io/docs/user-guide/setup/install/[installation procedure] in the Krew documentation.
14
+
15
+
.Procedure
16
+
17
+
. To list all available plug-ins, run the following command:
18
+
+
19
+
[source,terminal]
20
+
----
21
+
$ oc krew search
22
+
----
23
+
24
+
. To get information about a plug-in, run the following command:
25
+
+
26
+
[source,terminal]
27
+
----
28
+
$ oc krew info <plugin_name>
29
+
----
30
+
31
+
. To install a plug-in, run the following command:
32
+
+
33
+
[source,terminal]
34
+
----
35
+
$ oc krew install <plugin_name>
36
+
----
37
+
38
+
. To list all plug-ins that were installed by Krew, run the following command:
You can uninstall a plug-in that was installed for the OpenShift CLI (`oc`) with Krew.
10
+
11
+
.Prerequisites
12
+
13
+
* You have installed Krew by following the link:https://krew.sigs.k8s.io/docs/user-guide/setup/install/[installation procedure] in the Krew documentation.
14
+
* You have installed a plug-in for the OpenShift CLI with Krew.
15
+
16
+
.Procedure
17
+
18
+
* To uninstall a plug-in, run the following command:
You can update a plug-in that was installed for the OpenShift CLI (`oc`) with Krew.
10
+
11
+
.Prerequisites
12
+
13
+
* You have installed Krew by following the link:https://krew.sigs.k8s.io/docs/user-guide/setup/install/[installation procedure] in the Krew documentation.
14
+
* You have installed a plug-in for the OpenShift CLI with Krew.
15
+
16
+
.Procedure
17
+
18
+
* To update a single plug-in, run the following command:
19
+
+
20
+
[source,terminal]
21
+
----
22
+
$ oc krew upgrade <plugin_name>
23
+
----
24
+
25
+
* To update all plug-ins that were installed by Krew, run the following command:
0 commit comments