pnpm root

打印有效的存放模块的目录。

pnpm root [-g]

See also pnpm bin and pnpm prefix.

配置项#

--global, -g#

打印全局包目录。