Skip to content

Instantly share code, notes, and snippets.

@iccir
Last active March 9, 2026 18:30
Show Gist options
  • Select an option

  • Save iccir/976c1412313ca538d343d7337ea490cc to your computer and use it in GitHub Desktop.

Select an option

Save iccir/976c1412313ca538d343d7337ea490cc to your computer and use it in GitHub Desktop.
Disable macOS software update nag/badging
#!/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