# htmlhint を Homebrew, Nix でインストール

htmlhint のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:htmlhint
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install htmlhint
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#htmlhint
```

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

## パッケージ情報

- **パッケージキー:** brew:htmlhint
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.9.2
- **ソース概要:** Static code analysis tool you need for your HTML
- **ホームページ:** <https://htmlhint.com>
- **最終更新:** 2026-06-15T10:20:18-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- htmlhint (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.9.2
## プロジェクトの歴史と使われ方

HTMLHint is a JavaScript/TypeScript-oriented static analysis tool for HTML, distributed as a command-line linter and reusable library. In package-manager terms it is the HTML counterpart to project linters: small, scriptable, configurable with `.htmlhintrc`, and useful in editors and CI jobs.

### プロジェクトの歴史

The official site and repository describe HTMLHint as a static code analysis tool for HTML. Its documentation centers on installation, configuration, CLI options, formatters, and programmatic use through the `HTMLHint.verify` API, which made it usable both as a standalone linter and as a library embedded in tooling.

The repository tag stream includes early 0.x releases in 2018 and later 1.x releases. The changelog shows the project continuing to add rules and output formats, including SARIF improvements useful for GitHub Code Scanning and new HTML rules such as duplicate attribute-value detection and obsolete-tag detection.

### 採用の歴史

HTMLHint's adoption is tied to the JavaScript tooling ecosystem: it can be installed with npm, run as a CLI, used programmatically, and integrated into editors. The input package facts record Homebrew and Nix packaging, which gives non-Node package-manager users a system-level install path for the same linter.

### 使われ方

Typical use is to lint project HTML files from the command line, configure rules in `.htmlhintrc`, choose formatter output for humans or machines, or call the library API from custom build tools. Its history tracks the broader move from browser-only HTML checking toward repeatable CI-friendly linting.

### パッケージ好きにとっての重要性

For package nerds, HTMLHint is significant as a clean example of a web-tooling package that crosses ecosystems: npm package, editor extension family, website docs, Homebrew formula, and Nix package. It makes HTML style and correctness checks available without asking every workflow to run a browser or a full validator service.

### タイムライン

- 2018: The GitHub tag stream includes early 0.x releases.
- 2025: The changelog records 1.6.0 with SARIF formatter improvements and new rules.
- 2025: The tag stream includes 1.6.x releases around the documented changelog entries.
- Package-manager era: The input package facts record HTMLHint in Homebrew and Nix.

### Related projects

- HTMLHint sits alongside linters such as ESLint and Stylelint, but focuses on HTML markup. Its related ecosystem includes the official VS Code extension, CI code-scanning formats such as SARIF, and browser or validator-based HTML checking tools.

### ソース

- <https://api.github.com/repos/htmlhint/HTMLHint/commits/a20dcb8e2ef75c8a85c427612f7a07ee0c3e747e>
- <https://api.github.com/repos/htmlhint/HTMLHint/commits/cf955ef6bc111beff790544e7232272da4b4bb2d>
- <https://api.github.com/repos/htmlhint/HTMLHint/tags?per_page=100>
- <https://github.com/htmlhint/HTMLHint>
- <https://github.com/htmlhint/vscode-htmlhint>
- <https://htmlhint.com/>
- <https://htmlhint.com/changelog/>
- <https://htmlhint.com/configuration>


## セキュリティノート

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: .htmlhintrc
## 他のパッケージマネージャ記録

- Nix - htmlhint: normalized package name match | nixpkgs package indexes: pkgs/by-name/ht/htmlhint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/htmlhint.yml](https://github.com/mxcl/pkgdb/blob/main/combined/htmlhint.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
