brew list
View Dep tree
for package in $(brew leaves); do echo $package; brew deps $package; echo; done
Leaves
List top-level installed packages
brew leaves
with sizes:
brew list --formula | while read cask; do echo -n "$cask: "; du -sh $(brew --prefix)/Cellar/$cask; done
Update & Upgrade
brew update && brew upgrade
Brew Info
brew info