Command: update

Manage macOS software updates using the built-in softwareupdate tool.

Usage

Usage: m update [OPTION]

Description: Manage software updates on MacOS.

Options:
  --help             Show this help message
  --list             List available updates
  --install NAME     Install specific update by name
  --install-all      Install all available updates

Note: All of these commands require sudo privileges.

Options

--list

Scans for and lists all available software updates from Apple.

Example:

sudo m update --list

--install NAME

Installs a specific update by its name, as shown in the --list command output.

Example:

sudo m update --install "macOS Monterey 12.6.1-21G217"

--install-all

Downloads and installs all available software updates.

Example:

sudo m update --install-all