Forked from phuctm97/install-xcode-command-line-tools.sh
Created
September 30, 2021 16:17
-
-
Save piyush1104/8e21a95933219302b7a06089631156c4 to your computer and use it in GitHub Desktop.
π¨ Install Xcode Command Line Tools and wait until it's done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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