how long do command line tools for xcode take to install] code example
Example 1: reinstall xcode cli tools
# remove currently installed
sudo rm -rf $(xcode-select -print-path)
# reinstall
xcode-select --install
Example 2: Installing Command line tools for Xcode via CLI
Code Block sudo xcode-select --switch /Applications/Xcode-beta.appsudo xcode-select --install