macOS
brew install ahalocal Homebrew formula metadata
sudo port install ahaMacPorts ports tree · textproc/aha/Portfile · source: api.github.com
brew
ANSI HTML adapter. Version 0.5.1 via Homebrew; verified from local package data.
install
brew install ahalocal Homebrew formula metadata
sudo port install ahaMacPorts ports tree · textproc/aha/Portfile · source: api.github.com
sudo apk add ahaAlpine Linux edge package indexes · aha · source: dl-cdn.alpinelinux.org
sudo apt install ahaDebian stable package indexes · aha · source: deb.debian.org
sudo dnf install ahaFedora Rawhide package metadata · aha · source: dl.fedoraproject.org
nix profile install nixpkgs#ahanixpkgs package indexes · pkgs/by-name/ah/aha/package.nix · source: api.github.com
sudo pacman -S ahaArch Linux sync databases · aha · source: geo.mirror.pkgbuild.com
sudo zypper install ahaopenSUSE Tumbleweed package metadata · aha · source: download.opensuse.org
overview
ANSI HTML adapter
history
aha, the ANSI HTML Adapter, is a small C command-line utility for turning ANSI SGR-colored terminal output into HTML. Its niche is deliberately narrow: preserve colored command output from tools such as colordiff, ls, htop, and formatted man pages so it can be posted or archived as standards-compliant HTML.
The public GitHub repository for aha began in May 2012 with an initial commit. The project has stayed close to the Unix filter model: read colored terminal text on standard input, emit HTML on standard output, and avoid runtime dependencies beyond a C compiler and make for source builds.
Version tags in the official repository show a long-lived but compact tool rather than a fast-moving framework. Notable repository tags include 0.5 in 2018 and 0.5.1 in 2020, with the README continuing to document source builds and simple shell-pipeline examples.
aha's adoption is mostly package-manager adoption: the project README explicitly documents Homebrew and conda installation, and the supplied package facts list packages in Homebrew, Debian, Fedora, Arch, MacPorts, Nix, Alpine, Ubuntu, and openSUSE ecosystems.
That distribution profile matches the tool's role: it is useful in scripts, CI logs, bug reports, and documentation pipelines where terminal color needs to survive outside a terminal emulator.
Typical usage pipes colored command output into aha and redirects the result to an HTML file. Official examples include converting aha's own help output, colordiff output, colored ls output, htop output with line-fix handling, and formatted man-page output.
For package users, the important operational detail is that aha is dependency-light and filter-shaped. It can be dropped into an existing shell pipeline without adopting a larger documentation or terminal-recording stack.
aha is the kind of package that appears small until it is missing from a packaging set: it fills the specific gap between ANSI-colored CLI output and static HTML artifacts. Its broad distro coverage makes it a handy compatibility target for scripts that need portable terminal-to-web conversion.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
aha | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:aha |
|---|---|
| Version | 0.5.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/aha |
| Homepage | https://github.com/theZiz/aha |
| Repository | https://github.com/theZiz/aha |
| Upstream docs | https://github.com/theZiz/aha#readme |
| License | LGPL-2.0-or-later OR MPL-1.1 |
| Source archive | https://github.com/theZiz/aha/archive/refs/tags/0.5.1.tar.gz |
| Bottle | available (on 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 | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | aha |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
aha 0.5.1-3
ANSI color to HTML converter
sudo apt install ahaaha
nix profile install nixpkgs#ahaaha 0.5.1-3build1
ANSI color to HTML converter
sudo apt install ahaaha 0.5.1-r3
ANSI color to HTML converter
sudo apk add ahaaha-doc 0.5.1-r3
ANSI color to HTML converter (documentation)
sudo apk add aha-docaha 0.5.1-16.fc44
Convert terminal output to HTML
sudo dnf install ahaaha 0.5.1-3
Ansi HTML Adapter: convert ANSI escape sequences to HTML
sudo pacman -S ahaaha 0.5.1-1.21
ANSI color to HTML converter
https://github.com/theZiz/aha/
sudo zypper install ahaaha
sudo port install ahasource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.