Posted at

CLI から OS X を Software Update

More than 3 years have passed since last update.

$ softwareupdate -l

$ sudo softwareupdate -ia

softwareupdate -h から抜粋

** Manage Updates:

-l | --list List all appropriate update labels (options: --no-scan)
-d | --download Download Only
-e | --cancel-download Cancel a download
-i | --install Install
<label> ... specific updates
-a | --all All appropriate updates
-r | --recommended Only recommended updates
--background Trigger a background scan and update operation
--ignore <label> ... Ignore specific updates
--reset-ignored Clear all ignored updates

-v | --verbose Enable verbose output
-h | --help Print this help