# html-xml-utils を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:html-xml-utils
```

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

### macOS

- Homebrew (100%):

```sh
brew install html-xml-utils
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install html-xml-utils
```

  証拠: MacPorts ports tree: textproc/html-xml-utils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add html-xml-utils
```

  証拠: Alpine Linux edge package indexes: html-xml-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install html-xml-utils
```

  証拠: Debian stable package indexes: html-xml-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install html-xml-utils
```

  証拠: Fedora Rawhide package metadata: html-xml-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#html-xml-utils
```

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

- pacman (92%):

```sh
sudo pacman -S html-xml-utils
```

  証拠: Arch Linux sync databases: html-xml-utils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install html-xml-utils
```

  証拠: openSUSE Tumbleweed package metadata: html-xml-utils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:html-xml-utils
- **パッケージマネージャ:** Homebrew
- **バージョン:** 8.8
- **ソース概要:** Tools for manipulating HTML and XML files
- **ホームページ:** <https://www.w3.org/Tools/HTML-XML-utils/>
- **最終更新:** 2026-06-09T18:18:54Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- asc2xml (エイリアス)
- hxaddid (エイリアス)
- hxcite (エイリアス)
- hxcite-mkbib (エイリアス)
- hxclean (エイリアス)
- hxcopy (エイリアス)
- hxcount (エイリアス)
- hxextract (エイリアス)
- hxincl (エイリアス)
- hxindex (エイリアス)
- hxmkbib (エイリアス)
- hxmultitoc (エイリアス)
- hxname2id (エイリアス)
- hxnormalize (エイリアス)
- hxnsxml (エイリアス)
- hxnum (エイリアス)
- hxpipe (エイリアス)
- hxprintlinks (エイリアス)
- hxprune (エイリアス)
- hxref (エイリアス)
- hxremove (エイリアス)
- hxselect (エイリアス)
- hxtabletrans (エイリアス)
- hxtoc (エイリアス)
- hxuncdata (エイリアス)
- hxunent (エイリアス)
- hxunpipe (エイリアス)
- hxunxmlns (エイリアス)
- hxwls (エイリアス)
- hxxmlns (エイリアス)
- xml2asc (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

html-xml-utils is W3C's collection of small Unix-style programs for inspecting, normalizing, extracting, and transforming HTML and XML documents. The suite is notable because it treats markup manipulation as a pipeline-friendly command-line job rather than as a browser or DOM-library-only task.

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

The W3C distribution page describes the project as source tarballs for HTML and XML utilities, with older pre-0.1 releases named htmlutils. A major naming transition happened at version 5.0, when most programs received the hx prefix, which made the suite's command names more consistent and easier to package together.

The W3C ChangeLog records ongoing maintenance by Bert Bos, including releases in the 8.x line and bug fixes for tools such as hxselect, hxnormalize, hxcopy, and hxwls. The W3C software news archive highlights feature work such as expanded CSS selector support in hxselect and hxremove, HTML parsing support in hxpipe, and fixes for attribute selector handling.

### 採用の歴史

The W3C README explicitly notes precompiled packages in Debian, Ubuntu, MacPorts, and other systems. Homebrew, Alpine, Debian, Fedora-family, Nix, Arch, and openSUSE package metadata show the suite has been carried by many Unix-like package collections, which is typical for small C utilities that fill scripting gaps.

### 使われ方

The commands cover tasks such as adding IDs, extracting selected elements, normalizing markup, expanding includes, producing link lists, converting entities, building tables of contents, and selecting nodes with CSS selectors. The result is a toolbox for shell scripts that need to touch HTML or XML without writing a bespoke parser.

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

For package maintainers and CLI users, html-xml-utils sits in the same cultural space as tidy, xmllint, pup, and xmlstarlet: it is small, scriptable, and installable as one package that exposes many focused commands. The hxselect command is especially recognizable because it gives CSS-selector extraction to shell pipelines.

### タイムライン

- 2001: The W3C download directory preserves old htmlutils material before the html-xml-utils 0.1 naming line.
- Version 5.0: Most utilities were renamed with the hx prefix.
- 2017: Version 7.2 and 7.4 expanded CSS selector support and improved hxselect and hxremove behavior.
- 2022: Version 8.3 added HTML parsing support to hxpipe, and version 8.4 fixed ::attr() selector handling.
- 2025: Version 8.7 fixed hxnormalize line-length behavior.
- 2026: The W3C ChangeLog records version 8.8 maintenance.

### Related projects

- Related command-line markup tools include HTML Tidy for cleanup, libxml2's xmllint for XML validation and XPath work, xmlstarlet for XML transformations, and selector-oriented tools such as pup.

### ソース

- Homebrew and distribution package pages support package-manager adoption.
- W3C README and directory listing document the source distribution, old htmlutils naming, package-manager availability, hx prefix change, and command list.
- W3C SoftwareNews and ChangeLog document 7.x and 8.x release evolution.


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - html-xml-utils - 7.7-1.1+b1: normalized package name match | Debian stable package indexes: html-xml-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | HTML and XML manipulation utilities | https://www.w3.org/Tools/HTML-XML-utils/
- Nix - html-xml-utils: normalized package name match | nixpkgs package indexes: pkgs/by-name/ht/html-xml-utils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - html-xml-utils - 7.7-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: html-xml-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | HTML and XML manipulation utilities | https://www.w3.org/Tools/HTML-XML-utils/
- apk - html-xml-utils - 8.8-r0: normalized package name match | Alpine Linux edge package indexes: html-xml-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A number of simple utilities for manipulating HTML and XML files. | https://www.w3.org/Tools/HTML-XML-utils/
- apk - html-xml-utils-doc - 8.8-r0: normalized package name match | Alpine Linux edge package indexes: html-xml-utils-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A number of simple utilities for manipulating HTML and XML files. (documentation) | https://www.w3.org/Tools/HTML-XML-utils/
- dnf - html-xml-utils - 8.7-2.fc45: normalized package name match | Fedora Rawhide package metadata: html-xml-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A number of simple utilities for manipulating HTML and XML files | https://www.w3.org/Tools/HTML-XML-utils/
- pacman - html-xml-utils - 8.8-1: normalized package name match | Arch Linux sync databases: html-xml-utils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Utilities for manipulating HTML and XML files | https://www.w3.org/Tools/HTML-XML-utils
- zypper - html-xml-utils - 8.7-2.5: normalized package name match | openSUSE Tumbleweed package metadata: html-xml-utils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A number of utilities for manipulating HTML and XML files | https://www.w3.org/Tools/HTML-XML-utils/
- MacPorts - html-xml-utils: normalized package name match | MacPorts ports tree: textproc/html-xml-utils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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