October 14, 2010
OSX Software update from command line
OSX Software update from command line
This is the command to have OS X run software update from the command line via terminal. Good for running as a task via ARD.
As admin user: sudo softwareupdate -i -a
Password will be the admin user’s password.
-a pulls down all available updates
-i installs them.
This will cause the machine to reboot if any of the updates would normally do so.