MacOSX - Manage updates via the terminal

The goal of this short FAQ is to explain how to manage and install updates via the terminal.

The commands:
  • To check for new updates:
    sudo softwareupdate -l
  • To install all available updates:
    sudo softwareupdate -i -a
  • To install recommended updates:
    sudo softwareupdate -i -r
Published by deri58. Latest update on October 14, 2014 at 09:26 AM by Jeff.
This document, titled "MacOSX - Manage updates via the terminal," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (
Mac OS X - How to force quit an application
MacOSX - How create a desktop shortcut?