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
- Click the Start button, and then select Control Panel.
- In the pop-up window, click Uninstall a program.
- In the pop-up application list, locate IBM Cloud Command Line Interface.
- Right-click IBM Cloud Command Line Interface, and select Uninstall.
- 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.
-
Check your IBM Cloud CLI version by running the following command:
ibmcloud -v
-
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
-
-
Clean up any autocompletion scripts, if you configured them. For more information, see Enabling shell autocompletion.