Skip to content

Uninstall Connect CLI

Uninstalling the Connect CLI removes it completely from your computer.

MacOS or Linux

sudo rm -rf /usr/local/connect-cli
sudo rm -rf /usr/local/lib/connect-cli
sudo rm -rf /usr/local/bin/connect-cli
sudo rm -rf ~/.local/share/connect-cli ~/.config/connect-cli ~/.cache/connect-cli
sudo rm -rf ~/Library/Caches/connect-cli
sudo rm -rf /usr/local/connect-cli
sudo rm -rf /usr/local/bin/connect-cli
sudo rm -rf ~/.local/share/connect-cli ~/.config/connect-cli ~/.cache/connect-cli
sudo rm -rf ~/Library/Caches/connect-cli
sudo rm -rf ~/.sfdx
sudo rm -rf ~/.sf

Windows

  1. Select Start -> Control Panel -> Programs -> Programs and Features.
  2. Select Connect CLI, and click Uninstall.
  3. Inside your home directory, delete these two directories:
    connect-cli
    .config
    

If the CLI is still installed, delete the %LOCALAPPDATA%\connect-cli directory in Program Files.