brew-leaves
List installed formulas that are not dependencies of another installed formula or cask. tldr-pages
On several platforms
Several platforms
List installed formulas that are not dependent on other installed formulas or casks
brew leavesIdentifyOnly list leaves that were manually installed
brew leaves --installed-on-requestIdentifyOnly list leaves that were installed as dependencies
brew leaves --installed-as-dependencyIdentifyDisplay help
brew leaves --helpIdentify