Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Refresh spotlight index to list the newly installed applications
# pboblem : some applications can't be found using spotlight search box.
# solution : reload the metadata plist
# source :
# Turn off spotlight
sudo mdutil -a -i off
# Unload it :
sudo launchctl unload -w /System/Library/LaunchDaemons/
# Load it :
sudo launchctl load -w /System/Library/LaunchDaemons/
# Turn spotlight on again:
sudo mdutil -a -i on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment