About 3,340 results
Open links in new tab
  1. Fast, disk space efficient package manager | pnpm

    Fast pnpm is optimized for installation speed. We believe waiting for dependencies to install is a waste of time. Your time is valuable, and so is ours.

  2. Installation - pnpm

    This will automatically install pnpm on your system. You can pin the version of pnpm used on your project using the following command:

  3. pnpm install

    Inside a workspace, pnpm install installs all dependencies in all the projects. If you want to disable this behavior, set the recursive-install setting to false.

  4. 安装 - pnpm

    安装特定版本 在运行安装脚本之前,你可以选择设置环境变量 PNPM_VERSION 来安装特定版本的 pnpm:

  5. Workspace - pnpm

    When this protocol is used, pnpm will refuse to resolve to anything other than a local workspace package. So, if you set "foo": "workspace:2.0.0", this time installation will fail because …

  6. pnpm vs npm

    On the other hand, pnpm manages node_modules by using hard linking and symbolic linking to a global on-disk content-addressable store. This lets you get the benefits of far less disk space …

  7. pnpm CLI

    When an unknown command is used, pnpm will search for a script with the given name, so pnpm run lint is the same as pnpm lint. If there is no script with the specified name, then pnpm will …

  8. Frequently Asked Questions - pnpm

    Does pnpm work across multiple drives or filesystems? The package store should be on the same drive and filesystem as installations, otherwise packages will be copied, not linked.

  9. Configuring - pnpm

    If no store is configured, then pnpm will automatically create a store on the same drive. If you need pnpm to work across multiple hard drives or filesystems, please read the FAQ. …

  10. Symlinked `node_modules` structure - pnpm

    This article only describes how pnpm's node_modules are structured when there are no packages with peer dependencies. For the more complex scenario of dependencies with peers, see how …