LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

brew-leaves

List top-level installed packages that are not dependencies

TLDR

List top-level packages (not dependencies)
$ brew leaves
copy
List only manually installed leaves
$ brew leaves -r
copy
List only dependency-installed leaves
$ brew leaves -p
copy
Show dependency tree of leaves
$ brew deps --tree $(brew leaves)
copy

SYNOPSIS

brew leaves [options]

DESCRIPTION

brew leaves lists installed formulae that are not dependencies of any other installed formula or cask. These are your "top-level" packages that you explicitly installed.This command shows the leaves of Homebrew's dependency graph - packages that can be safely uninstalled without breaking other packages.

PARAMETERS

-r, --installed-on-request

Only list leaves that were manually installed by the user
-p, --installed-as-dependency
Only list leaves that were installed as dependencies of another formula

CAVEATS

Not the same as "manually installed" - shows packages with no dependents. A manually installed package might have dependents and won't appear. Use -r flag for truly manual installations.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid