Created
November 17, 2025 12:22
-
-
Save bitoiu/273cd665484a50702b43b12469d8f8a8 to your computer and use it in GitHub Desktop.
Debloat iMac
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
| # Disable Spotlight indexing completely (most aggressive) | |
| sudo mdutil -a -i off | |
| # Or just disable for specific volumes (less aggressive) | |
| sudo mdutil -i off / | |
| # Disable Time Machine local snapshots | |
| sudo tmutil disablelocal | |
| # Disable Photos analysis | |
| defaults write com.apple.Photos CPLDontStartCPLAfterFreshInstall -bool true | |
| # Disable Siri | |
| defaults write com.apple.assistant.support "Assistant Enabled" -bool false | |
| # Disable Game Center | |
| defaults write com.apple.gamed Disabled -bool true | |
| # Disable automatic termination of inactive apps | |
| defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true | |
| # Disable App Nap system-wide | |
| defaults write NSGlobalDomain NSAppSleepDisabled -bool true | |
| # Disable smart quotes and dashes | |
| defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false | |
| defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false | |
| # Disable auto-correct | |
| defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false | |
| ---- | |
| # Disable unnecessary Apple services | |
| sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist 2>/dev/null | |
| sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.apsd.plist 2>/dev/null | |
| sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.suggestionsd.plist 2>/dev/null | |
| # Disable Knowledge Base daemon | |
| launchctl unload -w /System/Library/LaunchAgents/com.apple.knowledgeagent.plist 2>/dev/null | |
| # Disable Notification Center | |
| launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist 2>/dev/null | |
| ---- | |
| # Disable Bonjour multicast | |
| sudo defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist ProgramArguments -array-add "-NoMulticastAdvertisements" | |
| # Disable AirDrop | |
| defaults write com.apple.NetworkBrowser DisableAirDrop -bool true | |
| # Disable wake for network access | |
| sudo pmset -a womp 0 | |
| ---- | |
| # Reduce transparency | |
| defaults write com.apple.universalaccess reduceTransparency -bool true | |
| # Disable animations | |
| defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false | |
| defaults write com.apple.finder DisableAllAnimations -bool true | |
| defaults write com.apple.dock expose-animation-duration -float 0.1 | |
| defaults write com.apple.dock autohide-time-modifier -float 0 | |
| --- | |
| # Reduce transparency | |
| defaults write com.apple.universalaccess reduceTransparency -bool true | |
| # Disable animations | |
| defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false | |
| defaults write com.apple.finder DisableAllAnimations -bool true | |
| defaults write com.apple.dock expose-animation-duration -float 0.1 | |
| defaults write com.apple.dock autohide-time-modifier -float 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment