I am trying to uninstall xcode-select by removing its directory and all contents with;
sudo rm -rf /Library/Developer/CommandLineTools
However when after running the above command, I then run:
xcode-select -p
to verify that it's gone it reports back with the same original location;
/Library/Developer/CommandLineTools
I navigate via command line to the Developer folder and the CommandLineTools directory is no longer present. Also, when i run:
xcode-select --version
it still reports back with xcode-select version 2396.
Are these perhaps just variables that need resetting after I've already deleted xcode-select, and or what other steps ought I to take to fully delete xcode-select and it's settings/associations from my system?
I am not really sure what you are trying to achieve, but the executable for the xcode-select is located in the
/usr/bin.If you are trying to remove the command line tools you need to delete
/Library/Developer/CommandLineTools. If it is still there after you try to remove it you are doing something wrong.If you installed the command line tools bundled with Xcode you need to completely remove Xcode first.