Install OSX updates from command line using softwareupdate.

Ok here’s the deal, I wanted to update my machine to 10.5.2 from work today, but I had put it in a state where I couldn’t use VNC anymore (I logged out of one of the user accounts).

Anyway, I stumbled across some info on how to list and install updates from the command line.. SWEET!

If you launch a terminal session an type ‘man softwareupdate’ it’ll give you all the info, but here it is to save you a step. :)

Example

What I used to install 10.5.2 was the following line:

sudo softwareupdate -i MacOSXUpd10.5.2-10.5.2

Cool stuff. :)

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

Where does softwareupdate -d download to?

Leave a comment