Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save YeeaaahMan/2f70f576762e319a6ce48a293559952e to your computer and use it in GitHub Desktop.
Save YeeaaahMan/2f70f576762e319a6ce48a293559952e to your computer and use it in GitHub Desktop.
Install xcode command line tools without prompt
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