~ / blog / Reinstall xcode command line developer tools

       

  1 minute(s)

       

  osx

Delete existing command line tools and install them again.

❓ This does require root to run.

# uninstall command line tools
sudo rm -rf /Library/Developer/CommandLineTools
# install command line tools
xcode-select --install
# uninstall command line tools
sudo rm -rf /Library/Developer/CommandLineTools
# install command line tools
xcode-select --install