Install Command-Line Tools
Automate installation of command-line tools in your dotfiles using Applescript.
(
xcode-select --install;
sleep 1;
osascript -e \
'tell application "System Events" \\
tell process "Install Command Line Developer Tools" \\
keystroke return \\
click button "Agree" of window "License Agreement"'
)
Written by David Condrey
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Xcode
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#