Skip to content

Instantly share code, notes, and snippets.

@dannysmith
Created July 9, 2016 20:01
Show Gist options
  • Select an option

  • Save dannysmith/7c93436577187156ae68c399e8f6dab2 to your computer and use it in GitHub Desktop.

Select an option

Save dannysmith/7c93436577187156ae68c399e8f6dab2 to your computer and use it in GitHub Desktop.
# XCode Command Line Tools
fancy_echo "Installing XCode Command Line tools..."
xcode-select --install
sleep 3
osascript <<EOD
tell application "System Events"
tell process "Install Command Line Developer Tools"
keystroke return
click button "Agree" of window "License Agreement"
end tell
end tell
EOD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment