← 返回命令列表

Linux command

uv-tree 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show dependency tree

uv tree

Show tree with depth limit

uv tree --depth [n]

Show inverted tree

uv tree --invert

Show tree for package

uv tree --package [name]

说明

uv tree displays the dependency tree for a project. Shows packages and their dependencies in hierarchical format. Useful for understanding and debugging dependency relationships.

参数

--depth _n_
Limit tree depth.
--invert
Show reverse dependencies.
--package _name_
Show specific package.
--no-dev
Exclude dev dependencies.

FAQ

What is the uv-tree command used for?

uv tree displays the dependency tree for a project. Shows packages and their dependencies in hierarchical format. Useful for understanding and debugging dependency relationships.

How do I run a basic uv-tree example?

Run `uv tree` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --depth _n_ do in uv-tree?

Limit tree depth.