Last active
March 9, 2026 18:30
-
-
Save iccir/976c1412313ca538d343d7337ea490cc to your computer and use it in GitHub Desktop.
Disable macOS software update nag/badging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # 1) Run this script | |
| # 2) Reboot | |
| # 3) System Settings -> General -> Software Update | |
| # | |
| # Software Update should check for updates, list available updates, | |
| # but then remove the badge (and nags) | |
| # | |
| DOMAIN=/Library/Preferences/com.apple.SoftwareUpdate | |
| sudo defaults delete $DOMAIN | |
| sudo defaults write $DOMAIN AutomaticCheckEnabled -bool no | |
| sudo defaults write $DOMAIN AutomaticDownload -bool no | |
| sudo defaults write $DOMAIN AutomaticallyInstallMacOSUpdates -bool no | |
| sudo defaults write $DOMAIN ConfigDataInstall -bool no | |
| sudo defaults write $DOMAIN CriticalUpdateInstall -bool no | |
| sudo defaults write $DOMAIN DisableSoftwareUpdateBadging -bool yes | |
| sudo defaults write $DOMAIN DisableSoftwareUpdateNotifications -bool yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment