Sub topic 7
Choosing automatic update options
This chapter assumes you can open System Settings, you have an administrator account, and you know the update types from earlier chapters: major upgrades, point updates, and security-related updates. It covers the switches that control what your Mac does on its own, and how to check them from Terminal.
Where the settings live
Open System Settings > General > Software Update. Click the ⓘ button next to Automatic updates. On recent macOS versions this opens a panel with several switches. Exact labels vary a little between macOS versions, so match the names below to what you see.
| Option | What it does |
|---|---|
| Check for updates | Your Mac periodically asks Apple whether updates exist. |
| Download new updates when available | Updates are fetched in the background but not installed yet. |
| Install macOS updates | Downloaded macOS updates install on their own, usually overnight, and the Mac restarts if needed. |
| Install application updates from the App Store | App Store apps update without prompting. |
| Install Security Responses and system files | Small security fixes and system data files install quickly, often without a full restart. |
Some options depend on others. For example, installing updates automatically requires that downloading is also on. Newer versions may also show a beta updates option, which you should leave off on a Mac you depend on.
How the options relate
Each option is one stage of a pipeline. You can stop the pipeline at any stage.
If you turn off the first stage, nothing later in the chain happens, and you will not see new updates until you check by hand.
Choosing a configuration
There is no single right answer. These are common choices.
- Everything on. Best for most personal Macs. You get security fixes quickly and rarely think about updates.
- Check and download on, install off. Good if you want to pick the moment. The download is already done, so installing takes less time when you choose to start it.
- Security Responses and system files on, macOS updates off. Good for a Mac where you want to test a point update before it arrives, but still want urgent fixes.
- Check off. Not recommended. You lose the notification that something important is waiting.
Major upgrades are different from point updates. Even with automatic installation on, a new major version of macOS usually asks you to start it yourself.
Checking the settings from Terminal
The graphical switches are stored in a system preferences file. You can read them without changing anything.
defaults read /Library/Preferences/com.apple.SoftwareUpdateThe output is a list of keys and values. Look for keys such as AutomaticCheckEnabled, AutomaticDownload, AutomaticallyInstallMacOSUpdates, and CriticalUpdateInstall. A value of 1 means on and 0 means off. A key that is missing means the setting was never changed from its default. Key names can differ between macOS versions, so treat them as a guide, not a fixed list.
Reading the file requires no special rights. Changing it with defaults write is possible, but System Settings is the supported method. On a managed Mac, a configuration profile can override your choice, which a later chapter covers.
Confirming that automatic updates worked
Automatic installs happen while you are away, so verify them afterward. Run:
softwareupdate --historyCompare the dates in the list with when you expected an install. You can also run sw_vers to see the current version. If an update keeps appearing as pending, check that the Mac is plugged in overnight and has free space, using df -h /.
Common mistakes
- Turning on automatic install but never restarting. Some updates finish only after a restart, so a pending restart prompt means the update is not yet active.
- Assuming a laptop on battery will update. It typically will not.
- Disabling checks to avoid interruptions, then missing a security fix for weeks.
- Expecting the macOS switch to also update third-party apps. Those are handled separately, as the next chapter explains.
Exercise
You want updates downloaded in the background, but you want to choose when they install so a restart never interrupts a meeting. Which options do you leave on and which do you turn off? Name one Terminal command that confirms the result.
Show answer
Leave on "Check for updates" and "Download new updates when available". Turn off "Install macOS updates". You can keep "Install Security Responses and system files" on if you want urgent fixes applied quickly. Run defaults read /Library/Preferences/com.apple.SoftwareUpdate and check that the automatic check and download keys are 1 and the macOS install key is 0 or absent.
Exercise
An update was meant to install overnight, but the Mac still shows it as pending in the morning. Give two likely causes and one command that helps you test one of them.
Show answer
Likely causes are that the Mac was on battery power, or that there was not enough free storage. Run df -h / to check free space on the startup volume.