Last active
February 25, 2019 18:52
-
-
Save ChristopherA/a598762c3967a1f77e9ecb96b902b5db to your computer and use it in GitHub Desktop.
Update MacOS & Install Command Line Interface
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
| # curl -L https://gist.githubusercontent.com/ChristopherA/a598762c3967a1f77e9ecb96b902b5db/raw/macupdatecli.sh | bash | |
| sudo -v | |
| sudo /usr/sbin/softwareupdate -l | |
| touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress | |
| sudo /usr/sbin/softwareupdate -ia | |
| rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| git -C "$(brew --repo homebrew/core)" fetch --unshallow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment