Automatize a instalação de ferramentas de linha de comando em seus dotfiles usando 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"'
)