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 --list checks for macOS updates without opening Settings

macOS
~/tips/tip-macos-softwareupdate-list

softwareupdate --list

Lists the updates Apple has ready for your Mac, from the terminal.

You do not need System Settings to see whether Apple has something for your Mac.

The softwareupdate tool lists all available updates.

softwareupdate --list

It can also install. --install takes the update names from that list. --recommended means the recommended ones, and --all means everything that applies, including updates that are not recommended. --restart reboots automatically when an update needs it. There is also --download, which fetches an update without installing it.

softwareupdate --download --all

That last one is my favourite for a slow connection: grab the big files now, install when it suits you.

The caveat is that --all is wide. It includes the non-recommended updates, so read the list before you hand it a blank cheque. And do not combine --restart with a lot of open work.

Seeing the list first lets you pick the time and the order, and a restart never surprises you. In my opinion the terminal route is the calmer one, even if it looks more serious.

Further reading: softwareupdate.8 man page, On this site: softwareupdate –list shows pending macOS updates without opening Settings, On this site: pbcopy puts the output of any command on your Mac clipboard

More macOS tips System Settings > Accessibility > Hover Text > When using the pointer A Smart Folder in Notes collects notes by tag, checklist or date Type # in a Mac note to tag it, then filter by tag in the sidebar tmutil isexcluded ~/Projects/app/node_modules Crop an image in Preview by dragging a frame and clicking Crop All macOS tips (99) All topics

Link