Skip to content

Instantly share code, notes, and snippets.

@smikheiev
Last active February 1, 2020 19:55
Show Gist options
  • Save smikheiev/42763f355c1673b55257e4e218968731 to your computer and use it in GitHub Desktop.
Save smikheiev/42763f355c1673b55257e4e218968731 to your computer and use it in GitHub Desktop.

Script to show installed brew packages dependencies

#!/bin/zsh
brew list | while read cask; do echo -n "\e[1;34m$cask ->\e[0m"; brew deps $cask | awk '{printf(" %s ", $0)}'; echo ""; done
@smikheiev
Copy link
Author

Deprecated because brew deps --installed --tree makes its work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment