commands.sh

brew leaves

all

List installed formulas that are not dependencies of another installed formula or cask.

More info →

Options (3)

-r, --installed-on-requestboolean

Only list leaves that were manually installed

Example: brew leaves {{[-r|--installed-on-request]}}
-p, --installed-as-dependencyboolean

Only list leaves that were installed as dependencies

Example: brew leaves {{[-p|--installed-as-dependency]}}
-h, --helpboolean

Display help

Example: brew leaves {{[-h|--help]}}

Examples (4)

List installed formulas that are not dependent on other installed formulas or casks

Only list leaves that were manually installed

brew leaves [-r|--installed-on-request]

Only list leaves that were installed as dependencies

brew leaves [-p|--installed-as-dependency]

Display help

brew leaves [-h|--help]
made by @shridhargupta | data from tldr-pages