# htmlhint mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für htmlhint in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install htmlhint
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Paketfakten

- **Paketschlüssel:** brew:htmlhint
- **Paketmanager:** Homebrew
- **Version:** 1.9.2
- **Quellzusammenfassung:** Static code analysis tool you need for your HTML
- **Homepage:** <https://htmlhint.com>
- **Zuletzt aktualisiert:** 2026-06-15T10:20:18-04:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- htmlhint (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.9.2
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <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>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- 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
## Andere Paketmanager-Einträge

- 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)


## Quellen

- 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
