Skip to content

Instantly share code, notes, and snippets.

@ryenus
Forked from cansik/change-command-line-tools.sh
Created February 4, 2026 15:23
Show Gist options
  • Select an option

  • Save ryenus/3d9022b5526b2af6f254e7b41b30deaf to your computer and use it in GitHub Desktop.

Select an option

Save ryenus/3d9022b5526b2af6f254e7b41b30deaf to your computer and use it in GitHub Desktop.
Change Xcode Command Line Tools
# change to seperate installation
sudo xcode-select --switch /Library/Developer/CommandLineTools
# change to default installation
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment