pnpm/pnpm

GitHub: pnpm/pnpm

pnpm 是一款快速、高效的 Node.js 包管理器。

Stars: 35400 | Forks: 1482

[简体中文](https://pnpm.io/zh/) | [日语](https://pnpm.io/ja/) | [韩语](https://pnpm.io/ko/) | [意大利语](https://pnpm.io/it/) | [葡萄牙语(巴西)](https://pnpm.io/pt/) pnpm 快速、磁盘空间高效的包管理器: * **快速。** 比替代品快 2 倍(见 [基准测试](#benchmark))。 * **高效。** `node_modules` 内的文件从单一的内容可寻址存储链接。 * **[非常适合 monorepos](https://pnpm.io/workspaces)。** * **严格。** 一个包只能访问其 `package.json` 中指定的依赖项。 * **确定性。** 有一个名为 `pnpm-lock.yaml` 的锁文件。 * **作为 Node.js 版本管理器工作。** 见 [pnpm 运行时](https://pnpm.io/11.x/cli/runtime)。 * **在所有地方工作。** 支持 Windows、Linux 和 macOS。 * **经过实战检验。** 自 2016 年以来,所有规模的团队都在生产中使用。 * [查看与 npm 和 Yarn 的完整功能比较](https://pnpm.io/feature-comparison)。 引用 [Rush](https://rushjs.io/) 团队的话: [![npm 版本](https://img.shields.io/npm/v/pnpm.svg?label=latest)](https://github.com/pnpm/pnpm/releases/latest) [![OpenCollective](https://opencollective.com/pnpm/backers/badge.svg)](https://opencollective.com/pnpm) [![OpenCollective](https://opencollective.com/pnpm/sponsors/badge.svg)](https://opencollective.com/pnpm) [![X Follow](https://img.shields.io/twitter/follow/pnpmjs.svg?style=social&label=Follow)](https://x.com/intent/follow?screen_name=pnpmjs®ion=follow_link) [![Stand With Ukraine](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/c6c0268cf4001814.svg)](https://stand-with-ukraine.pp.ua) ## 许可证 [MIT](https://github.com/pnpm/pnpm/blob/main/LICENSE),除了 `pnpr/` 目录,该目录在 [PolyForm Shield License 1.0.0](https://github.com/pnpm/pnpm/blob/main/pnpr/LICENSE.md)下提供源代码。
标签:GNU通用公共许可证, MITM代理, MIT许可, Node.js, npm, Yarn, 内容地址存储, 开源, 性能优化, 数据可视化, 检测绕过, 版本管理, 生产级, 确定性构建, 磁盘空间效率, 软件包管理器, 通知系统, 锁文件