# 安装 pnpm

查看 pnpm 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:pnpm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pnpm
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pnpm
```

  证据: MacPorts ports tree: devel/pnpm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add pnpm
```

  证据: Alpine Linux edge package indexes: pnpm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install pnpm
```

  证据: Fedora Rawhide package metadata: pnpm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#pnpm
```

  证据: nixpkgs package indexes: pnpm from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S pnpm
```

  证据: Arch Linux sync databases: pnpm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install pnpm
```

  证据: openSUSE Tumbleweed package metadata: pnpm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install pnpm
```

  证据: Chocolatey community package catalog: pnpm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','plasso'

- Scoop (92%):

```sh
scoop install main/pnpm
```

  证据: Scoop official bucket manifest trees: bucket/pnpm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id pnpm.pnpm -e
```

  证据: Windows Package Manager source index: pnpm.pnpm from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:pnpm
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/pnpm>
- **版本:** 11.3.0
- **来源摘要:** Fast, disk space efficient package manager
- **主页:** <https://pnpm.io/>
- **上游文档:** <https://pnpm.io/>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/pnpm/-/pnpm-11.3.0.tgz>
- **更新:** 2026-05-24T13:43:51Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- pn (cli)
- pnpm (cli)
- pnpx (cli)
- pnx (cli)
- pn (别名)
- pnpm (别名)
- pnpx (别名)
- pnx (别名)

## 构建依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Caveats: pnpm requires a Node installation to function. You can install one with: brew install node
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 11.3.0
- 管理器更新时间: 2026-05-24
- 本地数据: ok
- 上游仓库: https://pnpm.io/
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / medium
- infrastructure mutation or orchestration signal
- **radioisotope:** Plain Text npm Auth Token

## 相关链接

- [node](https://www.automicvault.com/pkg/brew/node/) - Build dependency declared by Homebrew.
- [pake](https://www.automicvault.com/pkg/brew/pake/) - Popular package that depends on this formula.
- [pnpm@9](https://www.automicvault.com/pkg/brew/pnpm-9/) - Package name indicates the same formula family.
- [pnpm@10](https://www.automicvault.com/pkg/brew/pnpm-10/) - Package name indicates the same formula family.
- [pnpm](https://www.automicvault.com/pkg/npm/pnpm/) - Same normalized package name in another local ecosystem.
- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/)
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## 来源

- Nucleus package database
- Geiger risk classifier
- radioisotope security manifest
- local isotope README
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
