1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 20:02:09 +02:00
tldr/pages/common/uv-tree.md
Damy Metzke 0f59282916
uv-{add, tree}: Add page (#15552)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2025-01-22 14:10:36 +01:00

28 lines
589 B
Markdown

# 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 tree`
- Show dependency tree for all environments:
`uv tree --universal`
- Show dependency tree up to a certain depth:
`uv tree {{-d|--depth}} {{n}}`
- Show the latest available version for all outdated packages:
`uv tree --outdated`
- Exclude dependencies from the dev group:
`uv tree --no-dev`
- Show the inverted tree, so children are dependents instead of dependencies:
`uv tree --invert`