Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Uninstall brew package and dependencies

Uninstall brew package and dependencies

Remove package's dependencies (does not remove package):

brew deps [FORMULA] | xargs brew remove --ignore-dependencies

Remove package:

brew remove [FORMULA]

Reinstall missing libraries:

brew missing | cut -d: -f2 | sort | uniq | xargs brew install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment