Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piyush1104/8e21a95933219302b7a06089631156c4 to your computer and use it in GitHub Desktop.
Save piyush1104/8e21a95933219302b7a06089631156c4 to your computer and use it in GitHub Desktop.
🔨 Install Xcode Command Line Tools and wait until it's done
#!/bin/bash
# Install XCode Command Line Tools.
xcode-select --install &> /dev/null
# Wait until XCode Command Line Tools installation has finished.
until $(xcode-select --print-path &> /dev/null); do
sleep 5;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment