I recently discovered an interesting feature of the IBM Cloud CLI: plugins. These plugins, which are usually linked to specific IBM Cloud services, add new commands and functions to the IBM Cloud CLI.

The IBM Cloud CLI provides a simple interface to install, uninstall, update and search for plugins via the ibmcloud plugin command.

  • To use a plugin, you must first install it with the ibmcloud plugin install command. Here’s an example:

    ibmcloud plugin install cloud-object-storage
  • You can uninstall a plugin at any time with the ibmcloud plugin uninstall command. Here’s an example:

    ibmcloud plugin uninstall cloud-object-storage
  • A number of plugins are available. You can see a complete list with the following command:

    ibmcloud plugin repo-plugins