z1okyg
Last Updated: February 26, 2016
·
294
· dcondrey
2500859ffe4b4d2b21258dc22b752669

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"'
)

Gist

Say Thanks
Respond