Skip to content

Instantly share code, notes, and snippets.

@michael-yx-wu
Last active October 5, 2017 11:34
Show Gist options
  • Save michael-yx-wu/23cc8df8a5eab14ed0e39b1fababeb04 to your computer and use it in GitHub Desktop.
Save michael-yx-wu/23cc8df8a5eab14ed0e39b1fababeb04 to your computer and use it in GitHub Desktop.
List brew packages and things that use 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