3.4.3. Updating CLI plugins with the CLI Manager Operator


You can update a plugin that was installed for the OpenShift CLI (oc) with the CLI Manager Operator and Krew to keep your plugins current with the latest features.

Prerequisites

  • You have installed Krew by following the installation procedure in the Krew documentation.
  • The CLI Manager Operator is installed.
  • The custom index has been added to Krew by the cluster administrator.
  • The plugin updates have been added to the CLI Manager Operator by the cluster administrator.
  • The plugin you are updating is already installed.

Procedure

  • To update a single plugin, run the following command:

    $ oc krew upgrade <plugin_name>
  • To update all plugins that were installed by Krew, run the following command:

    $ oc krew upgrade
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部