Just like it’s pretty GUI counterpart, the command-line softwareupdate checks for updates to OS X itself and other associated applications, installing them upon approval.
As Apple moves onward and upward in
its efforts to synchronize what happens above and below the shiny
Aqua desktop, some previously GUI-only bits have made their way to
the Terminal command line. One such function is Software Update; just
like its pretty GUI counterpart,
man softwareupdate) checks for updates to OS X
itself and other associated applications, installing them upon
Aside from simply appealing to Unix jocks, Software Update on the command line affords administrators (especially those with multiple Macs to keep in sync) the ability to log in remotely and perform updates without having to wander physically from machine to machine. A good admin can actually go so far as to automate the process.
Let’s take a stroll through
It’s always advisable to close out of all applications except the Finder and Software Update or the Terminal in which you’re doing a software update. This is the best preemptive medicine for avoiding complications and conflicts that might arise from updating the system beneath the feet of running applications.
The first step is to see if any updates are available. Launch the
[Hack #48] application and type
softwareupdate at the command-line prompt. Software Update ...