Newer Version Available
Uninstall the CLI Binary or Plug-In
Uninstalling the CLI removes it entirely from your computer.
macOS or Linux
Enter all these commands in a terminal:
1sudo rm -rf /usr/local/sfdx
2sudo rm -rf /usr/local/lib/sfdx
3sudo rm -rf /usr/local/bin/sfdx
4rm -rf ~/.local/share/sfdx ~/.config/sfdx ~/.cache/sfdxWindows
- Select .
- Select SFDX CLI, and click Uninstall.
- Inside your home directory, delete the .config\sfdx directory.
If the CLI is still installed, delete the %LOCALAPPDATA%\sfdx directory in Program Files.
Uninstall the salesforcedx Plug-In
Enter this command from a terminal or Windows command prompt:
1sfdx plugins:uninstall salesforcedx