MacOSX - Manage updates via the terminal

Ask a question
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
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team