IBM Cloud Docs
Uninstalling the stand-alone IBM Cloud CLI

Uninstalling the stand-alone IBM Cloud CLI

Use the following steps to uninstall the stand-alone IBM Cloud® Command Line Interface on specific platforms.

Uninstalling on Windows

  1. Click the Start button, and then select Control Panel.
  2. In the pop-up window, click Uninstall a program.
  3. In the pop-up application list, locate IBM Cloud Command Line Interface.
  4. Right-click IBM Cloud Command Line Interface, and select Uninstall.
  5. The uninstaller is started. Follow the instructions to finish the uninstallation.

Uninstalling on Linux and macOS

The uninstallation steps are different depending on the version of the CLI that is installed.

  1. Check your IBM Cloud CLI version by running the following command:

    ibmcloud -v
    
  2. Run the uninstallation commands for your version of the CLI.

    • To uninstall versions 0.9.0 and later, run the following command:

      /usr/local/ibmcloud/uninstall
      
    • To uninstall versions earlier than 0.9.0, run all of the following commands:

      rm -rf /usr/local/ibmcloud
      
      rm -f /usr/local/bin/ibmcloud
      
      rm -f /usr/local/bin/bluemix
      
      rm -f /usr/local/bin/bx
      
      rm -f /usr/local/bin/ibmcloud-analytics
      
  3. Clean up any autocompletion scripts, if you configured them. For more information, see Enabling shell autocompletion.