pnpm
Build / code quality tool · Free
A JavaScript package manager with a shared content-addressable store and workspaces: installs dependencies and manages monorepos.
Also known as: pnpm/pnpm

What you can use for free
The main pnpm code can be used and modified under MIT with notices retained. This license does not cover the pnpr/ directory, which uses PolyForm Shield 1.0.0.
Paid features and costs
Installing it yourself uses your computer's resources. Selected external services and hosting may have separate paid plans or free terms; using the main pnpm code does not require buying such services.
Access and limitations
The main pnpm code can be used and modified under MIT with notices retained. This license does not cover the pnpr/ directory, which uses PolyForm Shield 1.0.0. Installing it yourself uses your computer's resources. Selected external services and hosting may have separate paid plans or free terms; using the main pnpm code does not require buying such services.
Use cases
- Manage dependencies in a JavaScript workspace
- Check installation and scripts using a shared package store and lockfile
Example workflow
A possible workflow; this is not a report of hands-on testing.
Manage dependencies in a JavaScript workspace.
Before you start
- A repository, package manifests, and configuration.
- A compatible runtime and the target build command.
Steps
- Describe the project's packages/workspaces and dependency relationships.
- Check installation and scripts using a shared package store and lockfile.
- Add the workflow to scripts or CI with a clear report.
Check your result
- A clean copy of the project reproduces the result.
- Errors produce a nonzero exit code and clear diagnostics.
Choosing pnpm
Manage dependencies in a JavaScript workspace
Choose this when
- Manage dependencies in a JavaScript workspace
- Check installation and scripts using a shared package store and lockfile
Requirements
- The workspace is defined in pnpm-workspace.yaml in the root. The README describes strict access only to dependencies declared in package.json and the pnpm-lock.yaml lockfile.
Things to consider
- Costs and limits of free use: Installing it yourself uses your computer's resources. Selected external services and hosting may have separate paid plans or free terms; using the main pnpm code does not require buying such services.
- Terms of use: The main pnpm code uses MIT; the pnpr/ directory uses PolyForm Shield 1.0.0 with separate terms and a prohibition on competing products. Dependency licenses are accounted for separately.
- workspace: specifies a dependency's local origin; it differs from an ordinary version range and must be stated explicitly.
Frequently asked questions
What can you use for free in pnpm?
The main pnpm code can be used and modified under MIT with notices retained. This license does not cover the pnpr/ directory, which uses PolyForm Shield 1.0.0.
What additional costs might arise with pnpm?
Installing it yourself uses your computer's resources. Selected external services and hosting may have separate paid plans or free terms; using the main pnpm code does not require buying such services.
What terms of use matter for pnpm?
The main pnpm code uses MIT; the pnpr/ directory uses PolyForm Shield 1.0.0 with separate terms and a prohibition on competing products. Dependency licenses are accounted for separately.
How do you get started with pnpm?
Describe the project's packages/workspaces and dependency relationships. Check installation and scripts using a shared package store and lockfile. Add the workflow to scripts or CI with a clear report.
How does pnpm require the local workspace package specifically?
The workspace: protocol prevents a dependency from being replaced by a registry package: installation fails if the required local version is missing. Ordinary semver with linkWorkspacePackages can resolve to the registry if the local version does not match.
License
The main pnpm code uses MIT; the pnpr/ directory uses PolyForm Shield 1.0.0 with separate terms and a prohibition on competing products. Dependency licenses are accounted for separately.
MIT — permissive license
The main pnpm code, excluding the pnpr/ directory. Retain MIT notices when distributing it.
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsCustom license — this product's terms apply
The pnpr/ directory uses PolyForm Shield 1.0.0: retain the terms and Required Notice; restrictions on competing products also apply to free products.
The license name does not imply standard MIT or GPL rights. Its own text determines permission to modify, work commercially, distribute, and use outputs. Follow the use case stated for the product above and the primary source for its terms.
Technologies and topics
- pnpm
- build
- Development