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-installing-plugins.adoc
2024-11-19 14:58:29 -05:00

47 lines
1.0 KiB
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/cli_manager/cli-manager-using.adoc
:_mod-docs-content-type: PROCEDURE
[id="cli-manager-adding-plugins_{context}"]
= Installing CLI plugins with the {cli-manager}
You can install CLI plugins using 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 CLI Manager custom index has been added to Krew.
* You are using {product-title} 4.17 or later.
.Procedure
. To list all available plugins, run the following command:
+
[source,terminal]
----
$ oc krew search
----
. To get information about a plugin, run the following command:
+
[source,terminal]
----
$ oc krew info <plugin_name>
----
. To install a plugin, run the following command:
+
[source,terminal]
----
$ oc krew install <plugin_name>
----
. To list all plugins that were installed by Krew, run the following command:
+
[source,terminal]
----
$ oc krew list
----