# 使用 Homebrew, Nix 安装 htmltest

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

## 安装

```sh
sudo av install brew:htmltest
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install htmltest
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#htmltest
```

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

## 软件包事实

- **软件包键:** brew:htmltest
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/htmltest>
- **版本:** 0.17.0
- **来源摘要:** HTML validator written in Go
- **主页:** <https://github.com/wjdp/htmltest>
- **仓库:** <https://github.com/wjdp/htmltest>
- **许可证:** MIT
- **源码归档:** <https://github.com/wjdp/htmltest/archive/refs/tags/v0.17.0.tar.gz>
- **最后更新:** 2026-07-27T14:32:26+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- htmltest (cli)
- htmltest (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.17.0
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/wjdp/htmltest
- 检测到的最新版本: v0.17.0 (当前)
## 项目历史与用法

htmltest is a Go command-line checker for generated HTML sites. It tests links, images, scripts, alt text, and related generated-output problems, giving static-site and documentation projects a single binary alternative to heavier runtime stacks.

### 项目历史

The README introduces htmltest by comparing it with html-proofer: if a generated site needs checking but the user wants to avoid a Ruby environment or wants a faster standalone tool, htmltest is the Go-based option. The repository exposes `.htmltest.yml` configuration and release tags that show the project maturing through repeated 0.x releases.

The tag stream includes v0.8.1 in March 2018 and v0.17.0 in November 2022. A companion `htmltest-action` repository and GitHub Marketplace action show the project moving naturally into CI workflows where generated documentation and static sites are checked after builds.

### 采用历史

The input package facts record Homebrew, Nix, and Fedora development packaging. The official GitHub Action gives another adoption route: users can run the binary in CI without managing a local install, while package managers serve developers who want the same check available on laptops and build hosts.

### 使用方式

htmltest is typically pointed at a generated output directory and optionally configured with `.htmltest.yml`. Its job is to catch broken internal or external references and markup hygiene issues before a static site, docs tree, or generated HTML artifact is published.

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

For package nerds, htmltest is interesting because it packages a documentation QA pattern as a portable Go binary. It is not a browser and not a general validator; it is the small CI-friendly check that catches the boring broken-output mistakes before release.

### 时间线

- 2018: v0.8.1 was tagged in March.
- 2022: v0.17.0 was tagged in November.
- CI era: The companion `htmltest-action` repository documents running htmltest from GitHub Actions.
- Package-manager era: The input package facts record Homebrew, Fedora, and Nix packaging.

### Related projects

- htmltest is related to html-proofer, link checkers, static-site test steps, and GitHub Actions that validate generated documentation. Its practical neighbors are documentation build pipelines rather than browser-based HTML validators.

### 来源

- <https://api.github.com/repos/wjdp/htmltest/commits/91ffb25a2a211de20da425cf21c584afd358a2c6>
- <https://api.github.com/repos/wjdp/htmltest/commits/ec73febdcb639acbeb983089db2df6732e8199bd>
- <https://api.github.com/repos/wjdp/htmltest/tags?per_page=20>
- <https://github.com/marketplace/actions/htmltest-action>
- <https://github.com/wjdp/htmltest>
- <https://github.com/wjdp/htmltest-action>
- <https://github.com/wjdp/htmltest/releases>


## 安全说明

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: .htmltest.yml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** htmltest
- **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 - htmltest: normalized package name match | nixpkgs package indexes: pkgs/by-name/ht/htmltest/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [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.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [mockery](https://pkg.so/zh-hans/brew/mockery/) - Shares pkgdb curated category or tags: cli, developer-tools, go, testing.
- [gotestsum](https://pkg.so/zh-hans/brew/gotestsum/) - Shares pkgdb curated category or tags: cli, developer-tools, go, testing.
- [templ](https://pkg.so/zh-hans/brew/templ/) - Shares pkgdb curated category or tags: cli, developer-tools, go, html.
- [gotests](https://pkg.so/zh-hans/brew/gotests/) - Shares pkgdb curated category or tags: cli, developer-tools, go, testing.
- [richgo](https://pkg.so/zh-hans/brew/richgo/) - Shares pkgdb curated category or tags: cli, developer-tools, go, testing.
- [cascadia](https://pkg.so/zh-hans/brew/cascadia/) - Shares pkgdb curated category or tags: cli, developer-tools, go, html.
- [counterfeiter](https://pkg.so/zh-hans/brew/counterfeiter/) - Shares pkgdb curated category or tags: cli, developer-tools, go, testing.
- [gor](https://pkg.so/zh-hans/brew/gor/) - Shares pkgdb curated category or tags: cli, developer-tools, go, testing.
- [cassowary](https://pkg.so/zh-hans/brew/cassowary/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, go, testing.

## Combined YAML source

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


## 来源

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