Created
September 11, 2016 14:51
-
-
Save jabenninghoff/5d2b3e6c4d46f809a60bc452aa9f61b6 to your computer and use it in GitHub Desktop.
List all installed brews along with their dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# one-liner courtesy of http://zanshin.net/2014/02/03/how-to-list-brew-dependencies/ | |
brew list | while read cask; do echo -n "$cask ->"; brew deps $cask | awk '{printf(" %s ", $0)}'; echo ""; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment