Performant npm (pnpm) Reference

Kip Landergren

(Updated: )

Contents

Selected Commands and Options

Common options:

-C [path], --dir [path] run as if pnpm was started in [path] instead of the current directory
-w, --workspace-root Run as if pnpm was started in the root of the workspace instead of the current working directory

pnpm install

--lockfile-only Only pnpm-lock.yaml is updated

Resources