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
You can simply delete this folder
Please note: This is the root /Library, not user ~/Library).
If you installed the command line tools separately, delete them using:
An excerpt from an apple technical note (Thanks to matthias-bauch)
you could easily delete using terminal:
Here is an article that explains how to remove the command line tools but do it at your own risk.Try this only if any of the above doesn't work.