-
-
Save githubhy/fe5b04b57f5c925c6b168fdf30d32faf 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 --formula | 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