Skip to content

Instantly share code, notes, and snippets.

@ndimiduk
Created March 24, 2012 02:03
Show Gist options
  • Save ndimiduk/2177518 to your computer and use it in GitHub Desktop.
Save ndimiduk/2177518 to your computer and use it in GitHub Desktop.
clean /usr/local of brew and cruft. will destroy non-brew installed files.
brew ls | xargs brew rm
brew cleanup
brew ls --unbrewed | xargs -I {} rm -rf /usr/local/{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment