brew-deps
Show dependencies of Homebrew formulae and casks
TLDR
Show the dependencies of a formula
$ brew deps [formula]
Show only direct dependencies$ brew deps --direct [formula]
Show dependencies as a tree$ brew deps --tree [formula]
Show dependencies shared by several formulae$ brew deps [formula1] [formula2]
Show dependencies of any of several formulae$ brew deps --union [formula1] [formula2]
Include build dependencies and mark them$ brew deps --include-build --annotate [formula]
Show dependencies of every installed formula$ brew deps --installed
SYNOPSIS
brew deps [options] [formula|cask...]
DESCRIPTION
brew deps prints the dependency graph of one or more Homebrew formulae or casks. With several names and no --union, the list is the dependencies they have in common. brew leaves is the other direction: installed formulae that nothing else depends on.The command is a subcommand of brew.
PARAMETERS
-1, --direct
List only dependencies declared directly by the formula.--tree
Print dependencies as a tree.--union
With several formulae, list a dependency if any of them needs it. The default is the intersection: a dependency listed only when every formula needs it.--include-build
Include build-time dependencies.--annotate
Mark dependencies that are build, optional, or test-only.--installed
List dependencies of all installed formulae.-h, --help
Show help and exit.
SEE ALSO
brew(1), brew-leaves(1), brew-list(1), brew-install(1)
