Forked from brysgo/install_command_line_tools_no_prompt
Created
April 8, 2022 09:30
-
-
Save YeeaaahMan/2f70f576762e319a6ce48a293559952e to your computer and use it in GitHub Desktop.
Install xcode command line tools without prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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