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