Skip to main content

jnc tree

Displays a tree view of workspace dependencies. Direct dependencies specified in the manifest are highlighted in green. Conda package versions are shown in yellow and PyPI versions in blue.

Usage

jnc tree [OPTIONS] [REGEX]
Alias: t

Arguments

ArgumentDescription
[REGEX]Optional regular expression to filter which packages are shown.

Options

OptionShortDescription
--environment <ENV>-eThe environment to show the tree for. Defaults to the default environment.
--platform <PLATFORM>-pThe platform to show the tree for. Defaults to the current platform.
--invert-iInvert the tree to show what depends on the given package (requires a regex argument).
--frozenUse the lock file as-is. Do not update it if it is out of date.
--lockedRequire the lock file to be up-to-date. Abort if it is not.
--no-installDo not install the environment, only check the lock file.

Global Options

OptionShortDescription
--manifest-path <PATH>-mPath to pixi.toml or the workspace directory.

Examples

Show the full dependency tree:
jnc tree
Filter to a specific package and its dependencies:
jnc tree numpy
Show what depends on a specific package (inverted tree):
jnc tree --invert openssl
Show the tree for a specific environment:
jnc tree --environment test
Show the tree for a different platform:
jnc tree --platform linux-aarch64