# 使用 Homebrew, MacPorts, scoop 安装 vacuum

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

## 安装

```sh
sudo av install brew:vacuum
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vacuum
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vacuum
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/vacuum
```

  证据: Scoop official bucket manifest trees: bucket/vacuum.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:vacuum
- **软件包管理器:** Homebrew
- **版本:** 0.30.0
- **来源摘要:** World's fastest OpenAPI & Swagger linter
- **主页:** <https://quobix.com/vacuum/>
- **仓库:** <https://github.com/daveshanley/vacuum>
- **最后更新:** 2026-07-26T00:30:00+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vacuum (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

vacuum is a Go-based OpenAPI, AsyncAPI, and JSON Schema linter and API-quality toolkit. It was created as a fast, lightweight alternative in the same niche as Spectral while preserving compatibility with existing Spectral rulesets.

### 项目历史

The first GitHub release, v0.0.1, was published in May 2022 and described as an alpha but stable working release. The early changelog already included an OpenAPI rules engine, default rulesets, schema checks, a report command, Spectral report generation, and Docker packaging.

The project's README later positioned vacuum as the world's fastest OpenAPI, AsyncAPI, and JSON Schema linter, docs generator, and toolkit. Its development expanded beyond OpenAPI linting into HTML reports, a dashboard, documentation generation, overlays, OpenAPI collections, JSON Schema linting, and AsyncAPI support.

### 采用历史

vacuum's adoption path is strongly package-manager oriented: the official README documents installation through a Homebrew tap, npm, yarn, curl installer, Docker images, GitHub Packages, and `go run`. The Homebrew formula, MacPorts, and Scoop entries in the input show it crossing into normal developer workstation package indexes.

The project targets CI and automated API governance workflows. The README includes a GitHub Actions installation pattern and notes token use to avoid GitHub API rate limits during automated installs.

### 使用方式

The common CLI path is `vacuum lint <your-openapi-spec.yaml>`, but the tool also exposes report, dashboard, HTML report, docs generation, bundle, language-server, overlay, schema, and ruleset-generation commands. The README emphasizes that it accepts YAML or JSON and supports OpenAPI 2, OpenAPI 3+, AsyncAPI 3, and JSON Schema documents.

Because vacuum is compatible with Spectral rulesets, package users can reuse existing API lint policies while benefiting from vacuum's Go binary distribution and speed-focused implementation.

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

vacuum matters to package nerds because it is a single native CLI that replaces a chunk of Node-oriented API linting machinery for many workflows. That makes it attractive in Homebrew, Scoop, Docker, and CI setups where fast cold starts, simple binary distribution, and reproducible lint behavior matter.

Its rapid release cadence and widening command set make it a package-manager-visible example of the OpenAPI tooling ecosystem moving from JavaScript-only linters toward compiled CLIs that still interoperate with existing ruleset formats.

### 时间线

- 2022: v0.0.1 initial GitHub release published with an alpha rules engine and reporting features.
- 2022: README documents Homebrew tap, npm, yarn, curl, Docker, and Go execution paths.
- 2026: v0.28 adds JSON Schema-specific linting.
- 2026: v0.29 adds AsyncAPI 3 linting as a first-class document type.

### Related projects

- Spectral is the ruleset ecosystem vacuum explicitly supports.
- OpenAPI, AsyncAPI, and JSON Schema are the specification families vacuum linting targets.
- Docker, Homebrew, npm, yarn, and Go are official installation paths documented by the project.

### 来源

- <https://api.github.com/repos/daveshanley/vacuum/releases/tags/v0.0.1>
- <https://github.com/daveshanley/vacuum>
- <https://quobix.com/vacuum>
- source_facts.package-manager


## 安全说明

没有找到 vacuum 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: ./vacuum.conf.yaml, ~/.config/vacuum.conf.yaml, ./changes-rules.yaml, ~/.config/changes-rules.yaml
## 其他软件包管理器记录

- MacPorts - vacuum: normalized package name match | MacPorts ports tree: devel/vacuum/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/vacuum: normalized package name match | Scoop official bucket manifest trees: bucket/vacuum.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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