# 使用 Homebrew, dnf, Nix 安装 sarif-fmt

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

## 安装

```sh
sudo av install brew:sarif-fmt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sarif-fmt
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install sarif-fmt
```

  证据: Fedora Rawhide package metadata: sarif-fmt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#sarif-fmt
```

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

## 软件包事实

- **软件包键:** brew:sarif-fmt
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sarif-fmt>
- **版本:** 0.8.0
- **来源摘要:** Pretty print SARIF files to easy human readable output
- **主页:** <https://docs.rs/crate/sarif-fmt/latest>
- **仓库:** <https://github.com/psastras/sarif-rs>
- **上游文档:** <https://docs.rs/crate/sarif-fmt/latest>
- **许可证:** MIT
- **源码归档:** <https://github.com/psastras/sarif-rs/archive/refs/tags/sarif-fmt-v0.8.0.tar.gz>
- **最后更新:** 2026-06-14T15:13:48+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sarif-fmt (cli)
- sarif-fmt (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8.0
- 管理器更新时间: 2026-06-14
- 本地数据: OK
- 上游仓库: https://github.com/psastras/sarif-rs
- 检测到的最新版本: sarif-fmt-v0.8.0 (当前)

## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

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

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

- Nix - sarif-fmt: normalized package name match | nixpkgs package indexes: pkgs/by-name/sa/sarif-fmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - sarif-fmt - 0.5.0-6.fc45: normalized package name match | Fedora Rawhide package metadata: sarif-fmt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | View (pretty print) SARIF files in terminal | https://crates.io/crates/sarif-fmt


## 相关链接

- [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.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [sarif-tools](https://pkg.so/zh-hans/brew/sarif-tools/) - Shares pkgdb curated category or tags: cli, developer-tools, sarif, security, static-analysis.
- [semgrep](https://pkg.so/zh-hans/brew/semgrep/) - Shares pkgdb curated category or tags: cli, developer-tools, security, static-analysis.
- [ruff](https://pkg.so/zh-hans/brew/ruff/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, static-analysis.
- [rumdl](https://pkg.so/zh-hans/brew/rumdl/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, rust.
- [ktlint](https://pkg.so/zh-hans/brew/ktlint/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, static-analysis.
- [oxfmt](https://pkg.so/zh-hans/brew/oxfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, rust.
- [sqruff](https://pkg.so/zh-hans/brew/sqruff/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, rust.
- [mago](https://pkg.so/zh-hans/brew/mago/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, static-analysis.
- [sarif-fmt](https://pkg.so/zh-hans/cargo/sarif-fmt/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

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


## 来源

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