Sub topic 6
Verifying your version and reviewing history
After an update finishes, confirm that it took effect. This chapter shows how to read your macOS version and build number, and how to review which updates your Mac has installed. It assumes you can open Terminal and use System Settings with an administrator account.
Why verify
An update can appear to finish and still leave you on the old version. A restart might have been postponed, or the install might have failed quietly. Checking takes under a minute. It also gives you a record to compare against if something breaks later.
Check the version in System Settings
Open System Settings, choose General, then About. The macOS line shows the marketing name and version, for example "macOS Sequoia 15.1". Click the version text to cycle through extra details, including the build number.
Then open General, then Software Update. If the page says your Mac is up to date and names the version, the install is complete. If it still offers the same update, the install did not finish.
Check the version in Terminal
The sw_vers command prints the product name, version, and build number.
sw_versThe output has three fields:
| Field | Meaning |
|---|---|
| ProductName | The operating system name. |
| ProductVersion | The release number, such as 15.1. |
| BuildVersion | An internal identifier for the exact build. |
The build number matters because Apple sometimes ships more than one build of the same version number. This happens with hardware-specific releases. A security response or a supplemental release may change the build without changing the version. When you compare against Apple's release notes or a support article, match the build as well as the version.
Compare this output with the version shown in Software Update. They should agree. If they differ, you are probably reading an old screenshot or a cached window. Reopen the Settings page to refresh it.
Review update history
macOS records installed updates. In System Settings, the Software Update page has an Update History option on recent releases. The Terminal equivalent is softwareupdate --history.
softwareupdate --historyEach row has a display name, a version, and an install date. The list includes more than major releases. You will see point updates, XProtect and other security data updates, and some command line tool updates.
Use the history to answer questions like these:
- Did the update I installed last night actually succeed?
- When was the last security update applied?
- Which update was installed just before a problem started?
The history lists what was installed. It does not list what is pending. To see pending updates, run softwareupdate --list, which the command-line chapter covers.
Common mistakes
- Trusting the version alone. Two builds can share one version number. Record both values.
- Expecting history to show failures. The history lists successful installs. A failed attempt usually does not appear there. The install log is the place to look.
- Reading the list in the wrong order. Do not assume the newest entry is first. Look at the date column.
- Checking before restarting. Many updates apply only after a restart. If
sw_versshows the old version, restart and check again.
A quick check you can reuse
You can combine both checks into one routine.
sw_vers
softwareupdate --history | tail -n 5The first command gives the current version and build. The second shows the five most recent history lines. Together they tell you what you are running and what changed last.
Exercises
Exercise
You installed an update yesterday, but sw_vers still shows the old ProductVersion. List two things you should check and the command or place for each.
Show answer
First, check whether a restart is still pending, since many updates apply only after restarting. Restart, then run sw_vers again. Second, open System Settings, General, Software Update to see whether the update is still offered. If it is, run softwareupdate --history to see whether the install was recorded, and check /var/log/install.log for errors, for example with grep -i softwareupdate /var/log/install.log | tail -n 20.
Exercise
Two Macs both report ProductVersion 15.1. Why might you still need to compare their BuildVersion values, and which command prints it?
Show answer
Apple can ship more than one build under the same version number, for example for hardware-specific releases or supplemental updates. The build identifies the exact release. sw_vers prints it as BuildVersion.