HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

brew leaves — List installed formulas that are not dependencies of another installed formula or cask. More informa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandareformulasbrew leavesclithatlistinstalled

Problem

How to use the brew leaves command: List installed formulas that are not dependencies of another installed formula or cask. More information: <https://docs.brew.sh/Manpage#leaves---installed-on-request---installed-as-dependency>.

Solution

brew leaves — List installed formulas that are not dependencies of another installed formula or cask. More information: <https://docs.brew.sh/Manpage#leaves---installed-on-request---installed-as-dependency>.

List installed formulas that are not dependent on other installed formulas or casks:
brew leaves


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]}}

Code Snippets

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

brew leaves

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]}}

Context

tldr-pages: common/brew leaves

Revisions (0)

No revisions yet.