Skip to content

Instantly share code, notes, and snippets.

@phuctm97
Created April 17, 2020 08:15
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save phuctm97/946b5ced8cbfabc2f34e489c447456b1 to your computer and use it in GitHub Desktop.
Save phuctm97/946b5ced8cbfabc2f34e489c447456b1 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
@piyush1104
Copy link

Thanks for this!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment