Reversible
Relevant preference files are backed up before modification, and a companion restore script returns automatic update behavior.
UTILITY · SHELL · MIT
A reversible, idempotent shell-based approach for disabling automatic macOS system update checks, downloads and installations while keeping manual update capability available.
01 / DESIGN
The scripts do not disable the softwareupdated daemon or redirect Apple's update server, so System Settings and the softwareupdate command remain available for manual maintenance.
Relevant preference files are backed up before modification, and a companion restore script returns automatic update behavior.
The project is designed to be safe to run again rather than assuming a pristine state every time.
The disable script checks the resulting values and automatically rolls back when verification fails.
02 / WHAT CHANGES
The Dock badge change is optional and can be preserved with a flag.
03 / USE
The scripts request administrator privileges through sudo. They contain no password and do not require network access.
chmod +x disable-macos-updates.sh restore-macos-updates.sh ./disable-macos-updates.sh # keep the System Settings Dock badge ./disable-macos-updates.sh --keep-dock-badge # restore automatic updates ./restore-macos-updates.sh
Disabling automatic updates also disables automatic configuration-data and critical-security-update installation. That increases long-term exposure to known vulnerabilities. The repository recommends checking and installing updates manually on a regular schedule.