Skip to content

Instantly share code, notes, and snippets.

@vbauerster
Created September 22, 2015 20:18
Show Gist options
  • Save vbauerster/f0451a56e6a9cefbd8f5 to your computer and use it in GitHub Desktop.
Save vbauerster/f0451a56e6a9cefbd8f5 to your computer and use it in GitHub Desktop.
cd `brew --prefix`
rm -rf Cellar
brew prune
rm `git ls-files`
rm -r Library/Homebrew Library/Aliases Library/Formula Library/Contributions
rm -rf .git
rm -rf ~/Library/Caches/Homebrew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment