Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, winget, MacPorts, pacman, zypper, scoop 安装 tidy-html5

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tidy-html5

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tidy

MacPorts ports tree · www/tidy/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install libtidy-dev

Debian stable package indexes · libtidy-dev · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install tidy

Fedora Rawhide package metadata · tidy · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S tidy

Arch Linux sync databases · tidy · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install tidy

openSUSE Tumbleweed package metadata · tidy · 来源: download.opensuse.org

Windows

Windows Package Manager已验证 · 92%
winget install --id HTACG.tidy -e

Windows Package Manager source index · HTACG.tidy · 来源: cdn.winget.microsoft.com

Scoop已验证 · 92%
scoop install main/tidy

Scoop official bucket manifest trees · bucket/tidy.json · 来源: api.github.com

概览

软件包摘要

Granddaddy of HTML tools, with support for modern standards

历史

项目历史与用法

HTML Tidy is a long-running command-line and library project for cleaning, diagnosing, and pretty-printing HTML, now maintained by the HTACG Tidy HTML Project with HTML5 support.

项目历史

The official HTML Tidy site traces the project to Dave Raggett of the W3C in the early Web era. Raggett's original W3C page describes Tidy as a free utility for automatically fixing common HTML mistakes, cleaning up hard-to-read output from editors and converters, and identifying accessibility issues that need author attention.

After Raggett's original work, maintenance moved to volunteers at tidy.sourceforge.net, where the project became a C library and kept pace with evolving standards. The official history says W3C members renewed interest in 2011 and forked the project to GitHub with HTML5 compatibility, then in 2015 HTACG formed to revitalize Tidy after a non-maintained period.

HTACG's repository carries the modern `tidy-html5` source and describes the project as the granddaddy of HTML tools with support for modern standards. The repository metadata shows the GitHub project dating to 2011, matching the official history's GitHub-era transition.

采用历史

HTML Tidy has unusually broad package-manager and platform history for a web utility. The official site says many operating systems already ship a `tidy` command, though often too old for HTML5, and lists package-manager installs for macOS through Fink, Homebrew, and MacPorts plus Windows through Chocolatey.

The input package facts show a wider current packaging footprint across Homebrew, Debian/Ubuntu, Fedora, Arch, MacPorts, Scoop, winget, and openSUSE-family packages, reflecting Tidy's role as both a CLI utility and `libtidy` development dependency.

使用方式

Users run `tidy` to clean malformed or messy HTML, format output, flag errors and warnings with line and column information, and modernize documents produced by WYSIWYG editors or office exporters. Developers can also embed `libtidy`, whose official site describes APIs for parsing HTML into a DOM-like tree, cleaning and diagnostics, traversing nodes, and pretty-print output.

The original W3C page also documents Tidy's Unix-tool-style appeal: it can be used locally as a binary, as source code, and historically through online services, making it useful in editors, build scripts, validation workflows, and conversion pipelines.

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

For package nerds, tidy-html5 is a good example of an old web utility whose name, fork history, and packaging split matter: users may see `tidy`, `tidy-html5`, `libtidy`, or development packages depending on the platform.

It is also historically important because it bridges early W3C-era authoring tools and modern HTML5-oriented command-line workflows. The package remains useful precisely because it is boring, scriptable, and available almost everywhere.

时间线

  • 1998: HTML Tidy copyright history begins in the project license files.
  • 2000: Raggett's W3C page had already handed maintenance to SourceForge volunteers.
  • 2011: W3C members forked Tidy to GitHub for renewed work and HTML5 compatibility.
  • 2015: HTACG formed to revitalize the project and received W3C project ownership.
  • 2024: HTACG tidy-html5 repository metadata shows continued GitHub activity.

Related projects

  • Related project surfaces include Dave Raggett's original W3C Tidy page, the SourceForge-era tidy project, the W3C GitHub fork, the HTACG tidy-html5 repository, and downstream packages named `tidy`, `tidy-html5`, or `libtidy`.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tidycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本5.8.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本5.8.0

https://github.com/htacg/tidy-html5

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:tidy-html5
版本5.8.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/tidy-html5
主页https://www.html-tidy.org/
仓库https://github.com/htacg/tidy-html5
上游文档https://www.html-tidy.org/documentation
许可证Zlib
源码归档https://github.com/htacg/tidy-html5/archive/refs/tags/5.8.0.tar.gz
构建依赖cmake
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametidy-html5
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libtidy-dev 2:5.8.0-2

HTML/XML syntax checker and reformatter - development

https://www.html-tidy.org/

sudo apt install libtidy-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: tidy-html5
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Tidy Html5
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtidy-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libtidy58 2:5.8.0-2

HTML/XML syntax checker and reformatter - shared library

https://www.html-tidy.org/

sudo apt install libtidy58
  • Section: libs
  • Architecture: amd64
  • Source Package: tidy-html5
  • 1 依赖
  • normalized package name match
  • 匹配方式:Tidy Html5
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtidy58 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tidy 2:5.8.0-2

HTML/XML syntax checker and reformatter

https://www.html-tidy.org/

sudo apt install tidy
  • Section: web
  • Architecture: amd64
  • Source Package: tidy-html5
  • 2 依赖
  • normalized package name match
  • 匹配方式:Tidy Html5
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tidy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libtidy-dev 2:5.6.0-11ubuntu2

HTML/XML syntax checker and reformatter - development

https://www.html-tidy.org/

sudo apt install libtidy-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: tidy-html5
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Tidy Html5
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtidy-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libtidy5deb1 2:5.6.0-11ubuntu2

HTML/XML syntax checker and reformatter - shared library

https://www.html-tidy.org/

sudo apt install libtidy5deb1
  • Section: libs
  • Architecture: amd64
  • Source Package: tidy-html5
  • 1 依赖
  • normalized package name match
  • 匹配方式:Tidy Html5
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtidy5deb1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

tidy 2:5.6.0-11ubuntu2

HTML/XML syntax checker and reformatter

https://www.html-tidy.org/

sudo apt install tidy
  • Section: universe/web
  • Architecture: amd64
  • Source Package: tidy-html5
  • 2 依赖
  • normalized package name match
  • 匹配方式:Tidy Html5
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tidy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

tidy 5.8.0-13.fc44

Utility to clean up and pretty print HTML/XHTML/XML

http://www.html-tidy.org/

sudo dnf install tidy
  • License: W3C
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tidy
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Tidy Html5
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tidy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
winget95%

HTACG.tidy

winget install --id HTACG.tidy -e
  • normalized package name match
  • 匹配方式:Tidy Html5
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: HTACG.tidy from https://cdn.winget.microsoft.com/cache/source.msix
MacPorts94%

tidy

sudo port install tidy
  • installed executable or alias match
  • 匹配方式:Tidy
MacPorts ports tree · api.github.com · MacPorts ports tree: www/tidy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
dnf92%

libtidy 5.8.0-13.fc44

Runtime library for tidy

http://www.html-tidy.org/

sudo dnf install libtidy
  • License: W3C
  • Category: Unspecified
  • Architecture: i686
  • Source Package: tidy
  • 2 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Tidy
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libtidy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

libtidy-devel 5.8.0-13.fc44

Development files for tidy

http://www.html-tidy.org/

sudo dnf install libtidy-devel
  • License: W3C
  • Category: Unspecified
  • Architecture: i686
  • Source Package: tidy
  • 3 依赖
  • 3 提供
  • installed executable or alias match
  • 匹配方式:Tidy
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libtidy-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman92%

tidy 5.8.0-3

A tool to tidy down your HTML code to a clean style

https://www.html-tidy.org/

sudo pacman -S tidy
  • License: custom
  • Architecture: x86_64
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tidy
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: tidy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper92%

libtidy-devel 5.8.0-2.3

Development files for libtidy

https://github.com/htacg/tidy-html5

sudo zypper install libtidy-devel
  • License: W3C
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tidy
  • 3 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Tidy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtidy-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

libtidy58 5.8.0-2.3

Library to Clean Up and Pretty-print HTML, XHTML or XML Markup

https://github.com/htacg/tidy-html5

sudo zypper install libtidy58
  • License: W3C
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tidy
  • 2 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Tidy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtidy58 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

tidy 5.8.0-2.3

Utility to Clean Up and Pretty-print HTML, XHTML or XML Markup

https://github.com/htacg/tidy-html5

sudo zypper install tidy
  • License: W3C
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tidy
  • 2 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tidy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tidy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

tidy-doc 5.8.0-2.3

Documentation for tidy and libtidy

https://github.com/htacg/tidy-html5

sudo zypper install tidy-doc
  • License: W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: tidy
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tidy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tidy-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment