# 使用 Homebrew, apk, Nix 安装 vermin

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

## 安装

```sh
sudo av install brew:vermin
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vermin
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add vermin
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#vermin
```

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

## 软件包事实

- **软件包键:** brew:vermin
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/vermin>
- **版本:** 1.8.0
- **来源摘要:** Concurrently detect the minimum Python versions needed to run code
- **主页:** <https://github.com/netromdk/vermin>
- **仓库:** <https://github.com/netromdk/vermin>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/24/7b/2c1b403f2a844e1acb36694fc336e323df742f7f752edb4188311ad43f9e/vermin-1.8.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- vermin (cli)
- vermin (别名)

## 依赖

- python@3.14

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.8.0
- 本地数据: OK
- 上游仓库: https://github.com/netromdk/vermin
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Vermin is a Python static-analysis command-line tool for finding the minimum Python versions needed by a codebase. Its niche is compatibility maintenance: instead of formatting code or checking style, it parses source into Python's AST and matches detected syntax and library usage against version rules.

### 项目历史

The public GitHub repository was created on February 21, 2018, and early GitHub releases began in March 2018. The project has continued to track Python-version evolution; for example, its release stream later added support for newer language releases such as Python 3.11, 3.12, 3.13, and 3.14.

### 使用方式

Vermin is typically run over a project path to report minimum required Python versions and, when target versions are provided, to fail when code no longer satisfies a declared compatibility floor. The README also documents CI and pre-commit use, making it useful for maintainers who still support multiple Python branches or need visible evidence before dropping old interpreter support.

### 为什么软件包爱好者会关心

For package maintainers, Vermin occupies the small but practical space between trove classifiers and real syntax/API usage. It helps keep a package's declared Python support honest by deriving version requirements from code rather than relying only on manually maintained metadata.

### 时间线

- 2018-02-21: GitHub repository created.
- 2018-03-03: First GitHub release, v0.1, published.
- 2025-11-20: Version 1.8.0 release notes describe Python 3.14 support and additional detection rules.

### 来源

- <https://api.github.com/repos/netromdk/vermin>
- <https://api.github.com/repos/netromdk/vermin/releases?per_page=100>
- <https://github.com/netromdk/vermin>
- <https://github.com/netromdk/vermin/releases>


## 安全说明

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:** vermin
- **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 - vermin: normalized package name match | nixpkgs package indexes: pkgs/by-name/ve/vermin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - vermin - 1.8.0-r1: normalized package name match | Alpine Linux edge package indexes: vermin from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Detect the minimum Python versions needed to run code | https://github.com/netromdk/vermin
- apk - vermin-pyc - 1.8.0-r1: normalized package name match | Alpine Linux edge package indexes: vermin-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for vermin | https://github.com/netromdk/vermin


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [flake8](https://pkg.so/zh-hans/brew/flake8/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, python, static-analysis.
- [vulture](https://pkg.so/zh-hans/brew/vulture/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, python, static-analysis.
- [cmake-lint](https://pkg.so/zh-hans/brew/cmake-lint/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, python, static-analysis.
- [shellcheck](https://pkg.so/zh-hans/brew/shellcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, static-analysis.
- [actionlint](https://pkg.so/zh-hans/brew/actionlint/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, static-analysis.
- [golangci-lint](https://pkg.so/zh-hans/brew/golangci-lint/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, static-analysis.
- [ruff](https://pkg.so/zh-hans/brew/ruff/) - Shares pkgdb curated category or tags: cli, developer-tools, python, static-analysis.
- [hadolint](https://pkg.so/zh-hans/brew/hadolint/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, static-analysis.
- [sarif-tools](https://pkg.so/zh-hans/brew/sarif-tools/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, cli, code, developer, developer-tools.

## Combined YAML source

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


## 来源

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