# 使用 Homebrew, MacPorts, Nix, pacman 安装 revive

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

## 安装

```sh
sudo av install brew:revive
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install revive
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install revive
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#revive
```

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

- pacman (92%):

```sh
sudo pacman -S revive
```

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

## 软件包事实

- **软件包键:** brew:revive
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/revive>
- **版本:** 1.15.0
- **来源摘要:** Fast, configurable, extensible, flexible, and beautiful linter for Go
- **主页:** <https://revive.run>
- **仓库:** <https://github.com/mgechev/revive>
- **上游文档:** <https://github.com/mgechev/revive#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/mgechev/revive.git>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- revive (cli)
- revive (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.15.0
- 本地数据: OK
- 上游仓库: https://github.com/mgechev/revive
- 信息: No package-manager update timestamp was available.
- 信息: 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: ~/revive.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** revive
- **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 - revive: normalized package name match | nixpkgs package indexes: pkgs/by-name/re/revive/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - revive - 1.15.0-1: normalized package name match | Arch Linux sync databases: revive from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint | https://revive.run
- MacPorts - revive: normalized package name match | MacPorts ports tree: devel/revive/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [go-critic](https://www.automicvault.com/zh-hans/pkg/brew/go-critic/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, go, linter.
- [staticcheck](https://www.automicvault.com/zh-hans/pkg/brew/staticcheck/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, go, linter.
- [errcheck](https://www.automicvault.com/zh-hans/pkg/brew/errcheck/) - Shares av.db curated category or tags: cli, developer-tools, go, linter, static-analysis.
- [eslint](https://www.automicvault.com/zh-hans/pkg/brew/eslint/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter, static-analysis.
- [luacheck](https://www.automicvault.com/zh-hans/pkg/brew/luacheck/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter, static-analysis.
- [pmd](https://www.automicvault.com/zh-hans/pkg/brew/pmd/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter, static-analysis.
- [pylint](https://www.automicvault.com/zh-hans/pkg/brew/pylint/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter, static-analysis.
- [selene](https://www.automicvault.com/zh-hans/pkg/brew/selene/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter, static-analysis.

## Combined YAML source

View the package source record on GitHub. [combined/revive.yml](https://github.com/automic-vault/db/blob/main/combined/revive.yml)


## 来源

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