CLI commandsMisc.pnpm prefixVersion: NextOn this pagepnpm prefixAdded 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.