# 使用 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
- **版本:** 1.8.0
- **来源摘要:** Concurrently detect the minimum Python versions needed to run code
- **主页:** <https://github.com/netromdk/vermin>
- **仓库:** <https://github.com/netromdk/vermin>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vermin (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.8.0
## 项目历史与用法

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
