All apps/softwareupdate

softwareupdate

softwareupdate

macOS command-line software update tool.

Runs as softwareupdate|macOS

Command form

ai-draft · 3 tasks · 8 fields

List or install macOS updates. Pick the list or install form; installs normally need sudo.

Opens the form; the finished command lands at your prompt, unrun
otty gui softwareupdate

softwareupdate -l

List available updates

List all appropriate update labels.

List available updatesExample values, fixed in this page — nothing here reaches a terminal
Basic
Skip scan, use cached updates
--no-scan
Verbose output
--verbose
TasksEach one presets the form for one job
List updates
no_scanverbose
ParametersOnly these flags are editable in the form
Skip scan, use cached updates
boolean
--no-scan
Verbose output
boolean
--verbose

softwareupdate -i

Install updates

Install updates by label or all recommended ones. Run with sudo.

Install updatesExample values, fixed in this page — nothing here reaches a terminal
Basic
Update labels*
string
Agree to license
--agree-to-license
Verbose output
--verbose
TasksEach one presets the form for one job
Install update
labelsagreeverbose
ParametersOnly these flags are editable in the form
Update labels
Labels as printed by the list form.
string · positional 0 · repeatable
Agree to license
boolean
--agree-to-license
Force
boolean
--force
Skip scan
boolean
--no-scan
Verbose output
boolean
--verbose

softwareupdate --history

Show install history

Show the install history.

Show install historyExample values, fixed in this page — nothing here reaches a terminal
Basic
Verbose output
--verbose
TasksEach one presets the form for one job
Show history
verbose
ParametersOnly these flags are editable in the form
Verbose output
boolean
--verbose
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed softwareupdate against its version. A form that does not match your version is not offered.