macOS softwareupdate command

The softwareupdate command is a system software update tool. The man description is Software Update checks for new and updated versions of your software based on information about your computer and current software.”

Basically it allows you to perform macOS system updates from the command line instead of updating via the GUI System Preferences.

Available options and more info

Typing softwareupdate on the command line with no options will give you a printout of the basic command usage. For more detailed information and syntax examples type man softwareupdate.


man softwareupdate

List available updates

To list the available updates type softwareupdate and use the -l or –list option.

softwareupdate -l

Install updates

The command I use most frequently is the -i or –install; combined with -a or -all. This will install all available updates available.

softwareupdate -ia
Up next Markdown Crash Course Video Mac App Store Command Line Interface
Latest posts 0104-change-synology-password-cli 0105-free-git-ebook 0103-using-brew-bundle-to-backup-and-restore-mac-app-store-and-brew-apps Update macOS with an all in one alias Mac App Store Command Line Interface 0100-macos-softwareupdate-cli Markdown Crash Course Video What’s New with Fusion and Workstation [HCP1833] File IO in Python Overview of vSphere 7 Video 0095-what_is_iso Migrating Website HTML details Tag Microsoft RD Client iOS App 0091-create_vmware_esxi_usb_install_media Intel NUC Lab Hosts Hardware Setup 0089-installng_microsoft_sql_2016 Installing the First Two Domain Controllers in the VMware ESXi 6.7 Lab Environment 0088-deploy_vcsa_in_lab Macchanger Utility, and Usage Install a Kali Linux VM in a VMware ESXi 6.7 Environment Install Ubuntu 18.04 Virtual Machine in a VMware ESXi 6.7 Environment Install xRDP on Ubuntu 18.04 Install Chromium on Ubuntu 18.04 Install OpenSSH on Ubuntu 18.04 Install VMware Workstation 14 on Ubuntu 18.04 Nested ESXi server Laboratorium Rattus The Animal Within Who is Veeam? RSAC OnDemand Videos 0075-create_win10_sandbox_vm