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