Install MacOS Updates Via the Terminal

Channel:
Subscribers:
14,500
Published on ● Video Link: https://www.youtube.com/watch?v=SUIBFKhKdRM



Duration: 0:00
328 views
13


#MacOS #Terminal #SoftwareUpdate

Full steps can be found at https://i12bretro.github.io/tutorials/0750.html

   01. Start LaunchPad from the dock
   02. Search terminal ≫ Click Terminal to launch it
   03. Run the following commands in the terminal window
         list available updates
         softwareupdate --list
         install a specific update from the listing
         softwareupdate --install 'Title of Update'
         softwareupdate --install 'macOS Monterey 12.7.6-21H1320'
         automatically install available updates
         softwareupdate --install --all
 
--------------------------------------------------------------------
softwareupdate Usage
--------------------------------------------------------------------
usage: softwareupdate [ ...]
** Manage Updates:
  -l | --list List all appropriate update labels (options: --no-scan, --product-types)
  -d | --download Download Only
  -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
       --os-only Only OS updates
       --safari-only Only Safari updates
       --stdinpass Password to authenticate as an owner. Apple Silicon only.
       --user Local username to authenticate as an owner. Apple Silicon only.
    --list-full-installers List the available macOS Installers
    --fetch-full-installer Install the latest recommended macOS Installer
    --full-installer-version The version of macOS to install. Ex: --full-installer-version 10.15
    --install-rosetta Install Rosetta 2
    --background Trigger a background scan and update operation
** 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.
** 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
  --agree-to-license Agree to the software license agreement without user interaction.
  --verbose Enable verbose output
  --help Print this help
 
Source:  https://www.macrumors.com/how-to/update-macos-terminal-command/
 


Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro