I installed Xcode command line tool by issuing xcode-select --install
; now I want to uninstall it (without uninstalling Xcode).
I've tried
sudo /Developer/Library/uninstall-devtools --mode=all
but then I get the error
sudo: /Developer/Library/uninstall-devtools: command not found
If you installed the command line tools separately, delete them using:
sudo rm -rf /Library/Developer/CommandLineTools