snippetbashTip
uv tree — Display project dependencies in a tree format. More information: <https://docs.astral.sh/uv/referenc
Viewed 0 times
uv treecommandtreeformatdependenciesclidisplayproject
Problem
How to use the
uv tree command: Display project dependencies in a tree format. More information: <https://docs.astral.sh/uv/reference/cli/#uv-tree>.Solution
uv tree — Display project dependencies in a tree format. More information: <https://docs.astral.sh/uv/reference/cli/#uv-tree>.Show dependency tree for current environment:
uv treeShow dependency tree for all environments:
uv tree --universalShow dependency tree up to a certain depth:
uv tree {{[-d|--depth]}} {{n}}Show the latest available version for all outdated packages:
uv tree --outdatedExclude dependencies from the dev group:
uv tree --no-devShow the inverted tree, so children are dependents instead of dependencies:
uv tree --invertCode Snippets
Show dependency tree for current environment
uv treeShow dependency tree for all environments
uv tree --universalShow dependency tree up to a certain depth
uv tree {{[-d|--depth]}} {{n}}Show the latest available version for all outdated packages
uv tree --outdatedExclude dependencies from the dev group
uv tree --no-devContext
tldr-pages: common/uv tree
Revisions (0)
No revisions yet.