homebrew

Homebrew: List only installed top level formulas


I'm looking for a way to show only the formulas I installed without the installed dependencies. I want to have a list of all the programs I actually installed, without all noise of the dependencies.

I do know about brew list which lists all installed formulas. I also know that brew graph gives me a dependency graph in the graphviz

Or in other words: I want to have the minimal set of formulas to reinstall my system.


Solution

  • Use brew leaves: show installed formulae that are not dependencies of another installed formula.