# 使用 Homebrew, Nix, apt 安装 pdm

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

## 安装

```sh
sudo av install brew:pdm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pdm
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#pdm
```

  证据: nixpkgs package indexes: pkgs/by-name/pd/pdm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install python3-pdm
```

  证据: Debian stable package indexes: python3-pdm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:pdm
- **软件包管理器:** Homebrew
- **版本:** 2.28.0
- **来源摘要:** Modern Python package and dependency manager supporting the latest PEP standards
- **主页:** <https://pdm-project.org>
- **仓库:** <https://github.com/pdm-project/pdm>
- **最后更新:** 2026-07-11T15:23:35+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- pdm (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.28.0

## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: <PROJECT_ROOT>/pdm.toml, $XDG_CONFIG_HOME/pdm/config.toml, ~/.config/pdm/config.toml, $XDG_CONFIG_DIRS/pdm/config.toml, /etc/xdg/pdm/config.toml, $XDG_CONFIG_HOME/pdm/global-project/pdm.toml
- macOS: <PROJECT_ROOT>/pdm.toml, ~/Library/Application Support/pdm/config.toml, /Library/Application Support/pdm/config.toml, ~/Library/Application Support/pdm/global-project/pdm.toml
- Windows: <PROJECT_ROOT>\pdm.toml, %USERPROFILE%\AppData\Local\pdm\pdm\config.toml, %ProgramData%\pdm\pdm\config.toml, %USERPROFILE%\AppData\Local\pdm\pdm\global-project\pdm.toml

## Credential files

- Linux: $XDG_CONFIG_HOME/pdm/config.toml, ~/.config/pdm/config.toml
- macOS: ~/Library/Application Support/pdm/config.toml
- Windows: %USERPROFILE%\AppData\Local\pdm\pdm\config.toml
## 其他软件包管理器记录

- Debian apt - python3-pdm - 2.20.1+ds1-2: normalized package name match | Debian stable package indexes: python3-pdm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | next generation Python package management tool | https://github.com/pdm-project/pdm
- Nix - pdm: normalized package name match | nixpkgs package indexes: pkgs/by-name/pd/pdm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/pdm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/pdm.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
