Jump to content
Wikipedia The Free Encyclopedia

pnpm

From Wikipedia, the free encyclopedia
JavaScript package manager
pnpm
Developers Zoltan Kochan and other contributors
Release28June 2017;9 years ago(2017年06月28日)
Stable release
11.21.0[1] Edit this on Wikidata / 9 August 2026;4 days ago(9 August 2026)
Written inTypeScript, JavaScript
Platform Cross-platform
Type Package manager
License MIT License
Websitepnpm.io Edit this at Wikidata
Repository

pnpm (short for Performant npm)[2] is one of the main JavaScript package managers,[3] originally developed in 2016 by Rico Sta. Cruz for the Node.js JavaScript runtime environment.[4] [non-primary source needed ] It focuses on being a disk space-efficient alternative to npm.[5] [6]

History

[edit ]

The first commit to the pnpm repository was made on 27 January 2016, the same year as Yarn. The pnpm project was inspired by Alexander Gugel’s ied – an early experiment that used symbolic links to organise node_modules. The first stable release (v1.0.0) arrived on 28 June 2017. Over the following years, pnpm gained traction for its novel approach to dependency hoisting and its ability to handle large monorepos efficiently.[7]

Technical design

[edit ]

pnpm's core innovation is its use of a global content-addressable store to manage dependencies. Instead of copying files into each project's node_modules folder, it stores a single copy of each package version in a central location (e.g., ~/.pnpm-store) and creates hard links from the project to these files. Symbolic links are then used to construct the dependency tree within the project.[8]

See also

[edit ]

References

[edit ]
  1. "Release pnpm 11.21". 9 August 2026. Retrieved 13 August 2026.
  2. "Frequently Asked Questions | pnpm". pnpm.io. Retrieved 2026年01月09日.
  3. "Package management basics". MDN. 2022年09月28日.
  4. pnpm. "Initial commit · pnpm/pnpm@4b42e5f". GitHub. Retrieved 2026年01月09日.
  5. Lawson, Loraine (20 April 2024). "Dev News: Vercel Preps for React 19; New jQuery, pnpm Releases". thenewstack.io. Retrieved 11 September 2024.
  6. Adam D. Scott; Matthew MacDonald; Shelley Powers (16 July 2021). JavaScript Cookbook (3 ed.). O'Reilly Media. ISBN 978-1492055709 . Retrieved 12 September 2024.
  7. Kochan, Zoltan (2017年06月28日). "pnpm version 1 is out!". pnpm. Retrieved 2026年07月05日.
  8. "What is the purpose of the virtual store and its parent (node_modules), in pnpm?". Stack Overflow. Retrieved 2026年07月05日.
[edit ]
Stub icon

This installation software article is a stub. You can help Wikipedia by adding missing information.

AltStyle によって変換されたページ (->オリジナル) /