xcode command line tools update code example Example: update xcode command line sudo rm -rf /Library/Developer/CommandLineTools xcode-select --install