GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pnpm/pnpm: Fast, disk space efficient package manager

BranchesTags
Open more actions menu

Latest commit

 

History

15,310 Commits
15,310 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
.cargo
.cargo
 
 
.changeset
.changeset
 
 
.claude
.claude
 
 
.config
.config
 
 
.devcontainer
.devcontainer
 
 
.git-wt
.git-wt
 
 
.github
.github
 
 
.husky
.husky
 
 
.meta-updater
.meta-updater
 
 
.vale/styles/pnpm
.vale/styles/pnpm
 
 
docker
docker
 
 
fixtures
fixtures
 
 
pnpm
pnpm
 
 
pnpm11
pnpm11
 
 
pnpr
pnpr
 
 
vendor/tar
vendor/tar
 
 
.coderabbit.yaml
.coderabbit.yaml
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.pnpmfile.cjs
.pnpmfile.cjs
 
 
.pr_agent.toml
.pr_agent.toml
 
 
.taplo.toml
.taplo.toml
 
 
.typos.toml
.typos.toml
 
 
.vale.ini
.vale.ini
 
 
AGENTS.md
AGENTS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
Cross.toml
Cross.toml
 
 
DOCUMENTATION.md
DOCUMENTATION.md
 
 
FUNDING.json
FUNDING.json
 
 
LICENSE
LICENSE
 
 
PHILOSOPHY.md
PHILOSOPHY.md
 
 
README.md
README.md
 
 
RELEASING.md
RELEASING.md
 
 
SECURITY.md
SECURITY.md
 
 
clippy.toml
clippy.toml
 
 
commitlint.config.cjs
commitlint.config.cjs
 
 
crate-layers.toml
crate-layers.toml
 
 
cspell.json
cspell.json
 
 
deny.toml
deny.toml
 
 
dylint.toml
dylint.toml
 
 
eslint.config.mjs
eslint.config.mjs
 
 
justfile
justfile
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
renovate.json
renovate.json
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 
rustfmt.toml
rustfmt.toml
 
 
tsconfig.lint.json
tsconfig.lint.json
 
 

Repository files navigation

简体中文 | 日本語 | 한국어 | Italiano | Português Brasileiro

pnpm

Fast, disk space efficient package manager:

  • Fast. Up to 2x faster than the alternatives (see benchmark).
  • Efficient. Files inside node_modules are linked from a single content-addressable storage.
  • Great for monorepos.
  • Strict. A package can access only dependencies that are specified in its package.json.
  • Deterministic. Has a lockfile called pnpm-lock.yaml.
  • Works as a Node.js version manager. See pnpm runtime.
  • Works everywhere. Supports Windows, Linux, and macOS.
  • Battle-tested. Used in production by teams of all sizes since 2016.
  • Experimental Rust port. Includes pacquet, an experimental port of the CLI written in Rust.
  • See the full feature comparison with npm and Yarn.

To quote the Rush team:

Microsoft uses pnpm in Rush repos with hundreds of projects and hundreds of PRs per day, and we've found it to be very fast and reliable.

npm version Ecosystem E2E OpenCollective OpenCollective X Follow Stand With Ukraine

Platinum Sponsors

Bit OpenAI Notion
CodeRabbit Cloudflare

Gold Sponsors

Sanity Discord Vite
SerpApi Stackblitz Workleap
Nx Latitude Syntax

Silver Sponsors

Replit Cybozu BairesDev
Thesys devowl.io u|screen
Leniolabs_ Depot Cerbos
⏱️ Time.now

Support this project by becoming a sponsor.

Background

pnpm uses a content-addressable filesystem to store all files from all module directories on a disk. When using npm, if you have 100 projects using lodash, you will have 100 copies of lodash on disk. With pnpm, lodash will be stored in a content-addressable storage, so:

  1. If you depend on different versions of lodash, only the files that differ are added to the store. If lodash has 100 files, and a new version has a change only in one of those files, pnpm update will only add 1 new file to the storage.
  2. All the files are saved in a single place on the disk. When packages are installed, their files are linked from that single place consuming no additional disk space. Linking is performed using either hard-links or reflinks (copy-on-write).

As a result, you save gigabytes of space on your disk and you have a lot faster installations. If you'd like more details about the unique node_modules structure that pnpm creates and why it works fine with the Node.js ecosystem, read this small article: Flat node_modules is not the only way.

💖 Like this project? Let people know with a tweet

Getting Started

  • Installation
  • Usage
  • Frequently Asked Questions
  • X
  • Bluesky
  • Discord

Benchmark

pnpm is up to 2x faster than npm and Yarn classic. See all benchmarks.

Benchmarks on an app with lots of dependencies:

License

MIT, except the pnpr/ directory, which is source-available under the PolyForm Shield License 1.0.0.

About

Fast, disk space efficient package manager

pnpm.io

Topics

dependency-managerinstalljavascriptmodulesnodenodejsnpmpackage-manager

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

37.1k stars

Watchers

161 watching

Forks

2.0k forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.