Ana içeriğe atla
Sürüm: 9.x

pnpm why

Belirtilen pakete bağlı tüm paketleri gösterir.


If the Dependencies Tree has more than 10 results (end leaves), the output will be truncated to 10 end leaves.

This makes the output more readable and avoids memory issues.


--recursive, -r

Show the dependency tree for the specified package on every package in subdirectories or on every workspace package when executed inside a workspace.


Show information in JSON format.


Show verbose output.


Show parseable output instead of tree view.

--global, -g

Paketleri geçerli proje yerine genel kurulum dizininde listeleyin.

--prod, -P

Only display the dependency tree for packages in dependencies.

--dev, -D

Only display the dependency tree for packages in devDependencies.

--depth <number>

Display only dependencies within a specific depth.


Display only dependencies that are also projects within the workspace.

--filter <package_selector>

Read more about filtering.