A tool to manage pnpm version for different projects.
Because developers may have different pnpm versions installed, but your project may depend on specific version.
npm install --global pnpm-wrapper
Use pnpm for project
pnpmw) in place of
pnpm. E.g., install dependencies via:
Here is a list of sources to infer required
pnpm version (in descending order of priority):
If version not found in all sources then latest
pnpm version will be used. You can change it later in
The inferred version of
pnpm will be installed into the
~/.pnpm-wrapper directory, or reused if already present.
Set version for project
You can also set (or update) required pnpm version for project manually.
pnpm-wrapper use 6.13.0 # use specific version
pnpm-wrapper use ^6.0.0 # use semver range
This command will install pnpm for provided version (if not installed yet) and save that version in