I would like to update - totally new method for me - to Safari 17.6 and macOS 12.7.6 using Terminal:
Last login: Fri Feb 14 14:18:33 on ttys000
❯ sw_vers
ProductName: macOS
ProductVersion: 12.7.5
BuildVersion: 21H1222
❯ sudo softwareupdate -l
Password:
Software Update Tool
Finding available software
Software Update found the following new or updated software:
* Label: Safari17.6MontereyAuto-17.6
Title: Safari, Version: 17.6, Size: 152370KiB, Recommended: YES,
* Label: macOS Monterey 12.7.6-21H1320
Title: macOS Monterey 12.7.6, Version: 12.7.6, Size: 11226114K, Recommended: YES, Action: restart,
* Label: macOS Sequoia 15.3.1-24D70
Title: macOS Sequoia 15.3.1, Version: 15.3.1, Size: 14867195K, Recommended: YES, Action: restart,
Are the two CLI commands below correct to be used on macOS with OCLP 2.2.0 installed?
"sudo softwareupdate -i Safari17.6MontereyAuto-17.6"
"sudo softwareupdate -i 'macOS Monterey 12.7.6-21H1320' -R'" <-- the use of 'label'
Any heads up much appreciated.
Sources:
MR: How to Update macOS Using a Simple Terminal Command
More recent: How to Update Mac from Terminal with Softwareupdate Command Line Tool?