Software updates
CLI
softwareupdate -l
lists available updates. The* Label:
line contains the identifier used to download and install updates.softwareupdate -i LABEL
downloads and installs the update with the specified label.softwareupdate --history
lists operating system updates.- Use
--all
to include updates for other products, like Safari and Xcode CLT.
- Use
softwareupdate --fetch-full-installer VERSION
will download the full installation image.