跳至主要內容
版本:下一個

pnpm prefix

Added in: v11.10.0

Prints the current package prefix directory — the directory containing the closest package.json.

pnpm prefix

Options

--global, -g

Prints the global prefix directory instead.