Updating OS X From Command Line


As I get ready to send my Mac Mini off to the data center, I've been seeing just how much I can do via ssh.

So far so good.

As 10.4.2 just came out, the big question was whether one can do a software update from the command line.

Sure enough, it's possible:

sudo softwareupdate -l

will list the available updates.

sudo softwareupdate -i -r

will install recommended updates.

See

man softwareupdate

for more information.

UPDATE (2005-07-14): Now see Headless Tiger.

The original post was in the category: os_x but I'm still in the process of migrating categories over.