-
-
Save jwilmott/2358f5a164c427dc8e84dd20fac9787d to your computer and use it in GitHub Desktop.
List all packages installed using Homebrew and their sizes
This file contains hidden or 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
brew list -f1 | xargs -n1 -P8 -I {} \ | |
sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.*[0-9]* files, \(.*\)).*$/{} \1/'" | \ | |
sort -h -r -k2 - | column -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment