2022-12-01 10:31:59 -05:00
// Module included in the following assemblies:
//
2024-09-06 14:05:47 -04:00
// * cli_reference/cli_manager/cli-manager-using.adoc
2022-12-01 10:31:59 -05:00
2023-10-30 10:13:25 -04:00
:_mod-docs-content-type: PROCEDURE
2024-09-06 14:05:47 -04:00
[id="cli-manager-remove-plugin_{context}"]
= Uninstalling a CLI plugin with the {cli-manager}
2022-12-01 10:31:59 -05:00
2025-12-12 15:07:34 -05:00
[role="_abstract"]
2024-09-06 14:05:47 -04:00
You can uninstall a plugin that was installed for the OpenShift CLI (`oc`) with the {cli-manager}.
2022-12-01 10:31:59 -05:00
.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.
2024-09-06 14:05:47 -04:00
* You have installed a plugin for the OpenShift CLI with the {cli-manager}.
2022-12-01 10:31:59 -05:00
.Procedure
2023-01-16 16:03:42 -05:00
* To uninstall a plugin, run the following command:
2022-12-01 10:31:59 -05:00
+
[source,terminal]
----
$ oc krew uninstall <plugin_name>
----