Skip to content

Instantly share code, notes, and snippets.

@shreeve
shreeve / install-mac.md
Last active November 2, 2026 23:54
Install macOS

STOP FREAKING INDEXING!!!

1. Disable them (run once in Terminal):

for s in com.apple.corespotlightd com.apple.managedcorespotlightd com.apple.corespotlightservice com.apple.spotlightknowledged com.apple.spotlightknowledged.updater com.apple.spotlightknowledged.importer com.apple.mediaanalysisd com.apple.photoanalysisd; do launchctl disable gui/$(id -u)/$s; done

2. Restart the Mac, or log out and back in. macOS protects these services, so stopping them right away usually fails; “disabled” takes effect at the next login.

3. Check afterwards. This should print nothing: