Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gnuhub/87df31194ec1500fc564 to your computer and use it in GitHub Desktop.
Save gnuhub/87df31194ec1500fc564 to your computer and use it in GitHub Desktop.
do shell script "xcode-select --install"
do shell script "sleep 1"
tell application "System Events"
tell process "Install Command Line Developer Tools"
keystroke return
click button "Agree" of window "License Agreement"
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment