pnpm

pnpm

A fast, disk space-efficient package manager that uses a content-addressable store to link dependencies, up to 2x faster than alternatives, with built-in Monorepo support.

v11.28.6
Published at
4d ago
36,847
Stars
207,086
Download
Synced at
8h ago

Latest release

v11.28.6Oct 15, 2026, 01:45 PM
Downloads slow? Switch the source anytime above

README

Project Overview

pnpm is a fast, disk space-efficient package manager. It uses a content-addressable filesystem to store all files, linking them into node_modules via hard links or reflinks, which saves disk space and speeds up installations. It has built-in support for monorepos.

Key Features

  • Fast: Up to 2x faster than npm and Yarn
  • Disk space efficient: Uses hard links or reflinks to share files
  • Strict: A package can only access dependencies declared in its package.json
  • Monorepo support: Built-in workspace support
  • Deterministic: Uses a pnpm-lock.yaml lockfile
  • Node.js version manager: Can be used as a Node.js version manager
  • Works everywhere: Supports Windows, Linux, and macOS

Target Audience

  • Node.js developers seeking faster installations and less disk usage
  • Teams managing large monorepo projects
  • Users who want stricter dependency management

Quick Start

  • Install: Follow the Installation guide
  • Usage: pnpm install to install dependencies, pnpm add <pkg> to add a package

Core Advantages

  • Exceptional speed and disk space efficiency
  • Native monorepo support
  • Strict dependency management to avoid phantom dependencies

Release history

Sort