CLI reference¶
The native argument parser defines the command interface. Run pipdeptree --help to list the installed version’s
options.
Summary metrics¶
--summary emits the fields below in text, rich or JSON form. The Modes column identifies their sources. all
works for each command. default needs an installed environment; text reports n/a and JSON omits those fields for
from-index and from-lock.
Field |
Meaning |
Modes |
|---|---|---|
|
Number of packages in the tree. |
all |
|
Top-level packages (not required by any other package). |
all |
|
Packages required by another package ( |
all |
|
Longest dependency chain, counted in packages. |
all |
|
Number of dependency cycles detected. |
all |
|
Distinct packages required but not installed. |
default |
|
|
default |
|
|
default |
|
Highest |
default |
|
On-disk size of all packages, human-readable and in bytes. |
default |