メインコンテンツまでスキップ
Version: Next

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.