Skip to content

Instantly share code, notes, and snippets.

@ryenus
Created April 16, 2018 02:44
Show Gist options
  • Save ryenus/2156cf5318bff9b56e342bfa87f69941 to your computer and use it in GitHub Desktop.
Save ryenus/2156cf5318bff9b56e342bfa87f69941 to your computer and use it in GitHub Desktop.
Homebrew: List packages and what uses them
# see https://www.thingy-ma-jig.co.uk/blog/22-09-2014/homebrew-list-packages-and-what-uses-them
brew list -1 | while read cask; do echo -ne "\x1B[1;34m $cask \x1B[0m"; brew uses $cask --installed | awk '{printf(" %s ", $0)}'; echo ""; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment