Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created December 27, 2014 15:59
Show Gist options
  • Save rtrouton/4ff699b3f7660ae06a13 to your computer and use it in GitHub Desktop.
Save rtrouton/4ff699b3f7660ae06a13 to your computer and use it in GitHub Desktop.
Software Update keys in Yosemite's /Library/Preferences/com.apple.SoftwareUpdate.plist
Automatically check for updates:
Enable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled -bool TRUE
Disable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled -bool FALSE
Download newly available updates in the background:
Enable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -bool TRUE
Disable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -bool FALSE
Install XProtect and Gatekeeper updates automatically:
Enable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate ConfigDataInstall -bool TRUE
Disable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate ConfigDataInstall -bool FALSE
Install security updates automatically (like the OS X NTP Security Update 1.0 update)
Enable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -bool TRUE
Disable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -bool FALSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment