Hacker News new | ask | show | jobs
by elithrar 5080 days ago
$ softwareupdate -i -a [install, all] as it avoids the (slow) UI and you can schedule it if you want to.

Not sure if it'll carry across to ML, what with updates going through the Mac App Store there.

1 comments

One downside worth mentioning is that you can't read the full description of each available updates, like you can when you click on an item in the GUI version.

    softwareupdate -d -a
downloads all updates to /Library/Updates. For each update, you get a .pkg file to install and a metadata file that includes this description.
Indeed. Moreover, I only want to update my jdk when Im ready and have some free time to repair my jdk 1.5 symlinks once the update completes.