1.New feature fetch-full-installer
$ softwareupdate --fetch-full-installer --full-installer-version xx.xx.xx
Downloading and installing xx.xx.xx installer
Installing: 14.0%
...
2.Response Format (label title is Added)
$ softwareupdate -l
Software Update Tool
Finding available software
Software Update found the following new or updated software:
* Label: macOS 10.15 Update-
Title: macOS 10.15 Update, Version: , Size: 962326K, Recommended: YES, Action: restart,
ref. softwareupdate(8) in catalina
% softwareupdate
usage: softwareupdate [ ...]
** Manage Updates:
-l | --list List all appropriate update labels (options: --no-scan, --product-types)
-d | --download Download Only
-e | --cancel-download Cancel a download
-i | --install Install
... specific updates
-a | --all All appropriate updates
-R | --restart Automatically restart (or shut down) if required to complete installation.
-r | --recommended Only recommended updates
--fetch-full-installer Install the latest macOS Installer
--full-installer-version The version of macOS to install. Ex: --full-installer-version 10.15
--background Trigger a background scan and update operation
--ignore ... Ignore specific updates
--reset-ignored Clear all ignored updates
** Other Tools:
--dump-state Log the internal state of the SU daemon to /var/log/install.log
--evaluate-products Evaluate a list of product keys specified by the --products option
--history Show the install history. By default, only displays updates installed by softwareupdate.
--all Include all processes in history (including App installs)
** Options:
--no-scan Do not scan when listing or installing updates (use available updates previously scanned)
--product-types Limit a scan to a particular product type only - ignoring all others
Ex: --product-types macOS || --product-types macOS,Safari
--products A comma-separated (no spaces) list of product keys to operate on.
--force Force an operation to complete. Use with --background to trigger a background scan regardless of "Automatically check" pref
--verbose Enable verbose output
--help Print this help
ref2.
——
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.6
BuildVersion: 18G103
$ softwareupdate -l --include-config-data
Software Update Tool
Finding available software
Software Update found the following new or updated software:
* Safari13.0.3MojaveAuto-13.0.3
Safari (13.0.3), 67268K [recommended]
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.6
BuildVersion: 18G103
$ softwareupdate -l --include-config-data
Software Update Tool
Finding available software
Software Update found the following new or updated software:
* Security Update 2019-001-10.14.6
Security Update 2019-001 (10.14.6), 1285122K [recommended] [restart]
* XProtectPlistConfigData_10_14-2107
XProtectPlistConfigData (2107), 68K [recommended]
——
% sw_vers
ProductName: Mac OS X
ProductVersion: 10.15
BuildVersion: 19A602
% softwareupdate -l --include-config-data
Software Update Tool
Finding available software
Software Update found the following new or updated software:
* Label: AppleKextExcludeList_10_15-15.1.1
Title: Incompatible Kernel Extension Configuration Data, Version: 15.1.1, Size: 1028K, Recommended: YES,
* Label: macOS 10.15.1 Update-
Title: macOS 10.15.1 Update, Version: , Size: 4787879K, Recommended: YES, Action: restart,
* Label: XProtectPlistConfigData_10_15-2107
Title: XProtectPlistConfigData, Version: 2107, Size: 68K, Recommended: YES,
% sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.1
BuildVersion: 19B88
% softwareupdate -l --include-config-data
Software Update Tool
Finding available software
Software Update found the following new or updated software:
* Label: GatekeeperCompatibilityData-1.0
Title: Gatekeeper Compatibility Data, Version: 1.0, Size: 7108K, Recommended: YES,
%