Install the Xcode command line tools
Git, clang, make… without installing all of Xcode.
- Start the installation:
xcode-select --install
- Accept the window that opens and wait for the download to finish.
- Check the path:
xcode-select -p
- Update via software updates:
softwareupdate --list
- If there is a problem after a major update, reinstall:
sudo rm -rf /Library/Developer/CommandLineTools xcode-select --install