Saturday, November 06, 2004

Remote system upgrades via terminal

Mike Bombich (of Carbon Copy Cloner fame) explains how to remotely carry out software updates via an ssh shell login.

  • softwareupdate -l lists all available software updates
  • sudo softwareupdate -i -a downloads and installs all available software. (You may need to do sudo reboot afterwards.)
  • sudo softwareupdate -i NAME-OF-UPDATE1 NAME-OF-UPDATE2 ... installs just that/those particular update(s)