Update Mac OSX Using the Command Line
The softwareupdate
command allows you to skip the (unreasonably slow) Mac App Store and update OSX from the command line.
softwareupdate -l
to view the list of updates
sudo softwareupdate -i <update-name>
to install
sudo softwareupdate -d <update-name>
if you’d like to download it to install later.