MacOSX - Manage updates via the terminal

October 2016

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

Related :

This document entitled « MacOSX - Manage updates via the terminal » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.