Created
October 23, 2015 17:08
-
-
Save mstahl/78bfbfd019097e80b798 to your computer and use it in GitHub Desktop.
Use this snippet to uninstall and reinstall all the things you've installed via homebrew
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
brew list > /tmp/brew_list | |
for package in $(cat /tmp/brew_list); do | |
brew uninstall --force $package | |
brew install $package | |
done | |
rm -f /tmp/brew_list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment