Skip to content

Instantly share code, notes, and snippets.

@samuelhauser
Created February 7, 2020 13:09
Show Gist options
  • Save samuelhauser/381935dfb01cead7c9de3b86a65ec303 to your computer and use it in GitHub Desktop.
Save samuelhauser/381935dfb01cead7c9de3b86a65ec303 to your computer and use it in GitHub Desktop.

This one command will uninstall all the packages install through Homebrew.

brew remove --force $(brew list) --ignore-dependencies

To remove unused archives run

brew cleanup

To remove Cask packages

brew cask remove --force $(brew cask list)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment