# 使用 Homebrew, pacman 安装 psalm

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

## 安装

```sh
sudo av install brew:psalm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install psalm
```

  证据: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S psalm
```

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

## 软件包事实

- **软件包键:** brew:psalm
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/psalm>
- **版本:** 6.16.1
- **来源摘要:** PHP Static Analysis Tool
- **主页:** <https://psalm.dev>
- **仓库:** <https://github.com/vimeo/psalm>
- **上游文档:** <https://psalm.dev>
- **许可证:** MIT
- **源码归档:** <https://github.com/vimeo/psalm/releases/download/6.16.1/psalm.phar>
- **最后更新:** 2026-06-22T14:06:00-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- psalm (cli)
- psalm (别名)

## 依赖

- php

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 6.16.1
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/vimeo/psalm
- 信息: No cached GitHub release or tag data was available.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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

- Unix: psalm.xml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** psalm
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- pacman - psalm - 6.16.1-1: normalized package name match | Arch Linux sync databases: psalm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A static analysis tool for finding errors in PHP applications | https://psalm.dev/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [php](https://pkg.so/zh-hans/brew/php/) - Runtime dependency declared by Homebrew.
- [phpstan](https://pkg.so/zh-hans/brew/phpstan/) - Shares pkgdb curated category or tags: cli, developer-tools, php, static-analysis, type-checking.
- [pyright](https://pkg.so/zh-hans/brew/pyright/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, static-analysis.
- [pyrefly](https://pkg.so/zh-hans/brew/pyrefly/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, static-analysis.
- [mago](https://pkg.so/zh-hans/brew/mago/) - Shares pkgdb curated category or tags: cli, developer-tools, php, static-analysis.
- [pylyzer](https://pkg.so/zh-hans/brew/pylyzer/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, static-analysis.
- [shellcheck](https://pkg.so/zh-hans/brew/shellcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [composer](https://pkg.so/zh-hans/brew/composer/) - Shares pkgdb curated category or tags: cli, developer-tools, php.
- [semgrep](https://pkg.so/zh-hans/brew/semgrep/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.

## Combined YAML source

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


## 来源

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