brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: softwareupdate lists the macOS updates your Mac already installed, from the terminal

Terminal
~/tips/tip-terminal-softwareupdate-history

softwareupdate --history

Shows the names, versions and install dates of past system updates.

Something broke and you wonder whether an update came in overnight. The install history is one command away.

Ask softwareupdate for its history:

softwareupdate --history

You get a table with display name, version and the date and time of each install:

Display Name                         Version    Date
------------                         -------    ----
macOS Tahoe 26.5                     26.5       20-05-2026, 12:55:34
Command Line Tools for Xcode 26.5    26.5       20-05-2026, 14:48:15

It includes the quiet ones too: Command Line Tools, security responses and background data updates that never showed a dialog. When a compiler or git starts acting differently, this is where I’d check whether the Command Line Tools changed that day.

To search for one thing:

softwareupdate --history | grep -i 'command line tools'

No sudo needed, and the answer comes back right away. The help text says that by default it only lists updates installed by softwareupdate, which covers what System Settings installs, but not apps from the App Store. For those, the App Store’s own account page shows purchase and update history. The date format follows your region settings, so don’t parse it in a script that runs on other Macs.

Further reading: softwareupdate man page (macOS)

More Terminal tips ioreg -rn AppleSmartBattery | grep CycleCount Terminal can save your windows and tabs as a window group Export a Terminal profile to a .terminal file and import it on another Mac mc hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}' All Terminal tips (116) All topics

Link