Skip to content

Instantly share code, notes, and snippets.

@mcandre
Created September 7, 2018 21:32
Show Gist options
  • Save mcandre/0fa41afab120072ebc4dce66d1662314 to your computer and use it in GitHub Desktop.
Save mcandre/0fa41afab120072ebc4dce66d1662314 to your computer and use it in GitHub Desktop.
Homebrew list orphaned packages
#!/bin/bash
brew list | while read cask; do echo -ne "\x1B[1;34m $cask \x1B[0m"; brew uses $cask --installed | awk '{printf(" %s ", $0)}'; echo ""; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment