Skip to content

Instantly share code, notes, and snippets.

@sroccaserra
Last active April 16, 2020 12:50
Show Gist options
  • Save sroccaserra/00e1366f3f564b8aa8a90cb820c130df to your computer and use it in GitHub Desktop.
Save sroccaserra/00e1366f3f564b8aa8a90cb820c130df to your computer and use it in GitHub Desktop.
List brew removeable packages

For fish shell:

$ git diff --no-index (brew deps --installed | cut -d':' -f2- | tr ' ' "\n" | sed '/^$/d' | sort | uniq | psub) (brew list | psub)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment