# aha を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:aha
```

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

### macOS

- Homebrew (100%):

```sh
brew install aha
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install aha
```

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

### Linux

- apk (92%):

```sh
sudo apk add aha
```

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

- Debian apt (92%):

```sh
sudo apt install aha
```

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

- dnf (92%):

```sh
sudo dnf install aha
```

  証拠: Fedora Rawhide package metadata: aha 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#aha
```

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

- pacman (92%):

```sh
sudo pacman -S aha
```

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

- zypper (92%):

```sh
sudo zypper install aha
```

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

## パッケージ情報

- **パッケージキー:** brew:aha
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.5.1
- **ソース概要:** ANSI HTML adapter
- **ホームページ:** <https://github.com/theZiz/aha>
- **リポジトリ:** <https://github.com/theZiz/aha>
- **最終更新:** 2026-07-10T16:49:54-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- aha (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

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.

### タイムライン

- 2012: Public GitHub repository created with an initial commit.
- 2018: Official repository tag 0.5 recorded.
- 2020: Official repository tag 0.5.1 recorded.
- 2026: Input package facts list aha across Homebrew, Debian, Fedora, Arch, MacPorts, Nix, Alpine, Ubuntu, and openSUSE.

### Related projects

- aha commonly sits beside terminal-color producers such as colordiff, ls --color, htop, and man/ul pipelines rather than replacing them.
- It overlaps in purpose with broader terminal capture or documentation tools, but stays focused on ANSI-to-HTML conversion.

### ソース

- <https://api.github.com/repos/theZiz/aha>
- <https://api.github.com/repos/theZiz/aha/commits?per_page=1&page=181>
- <https://api.github.com/repos/theZiz/aha/git/commits/41c2320eb31ef1c95fcd45a0feb0303f606fc711>
- <https://github.com/theZiz/aha#readme>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

- Debian apt - aha - 0.5.1-3: normalized package name match | Debian stable package indexes: aha from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ANSI color to HTML converter | https://github.com/theZiz/aha
- Nix - aha: normalized package name match | nixpkgs package indexes: pkgs/by-name/ah/aha/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - aha - 0.5.1-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: aha from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ANSI color to HTML converter | https://github.com/theZiz/aha
- apk - aha - 0.5.1-r3: normalized package name match | Alpine Linux edge package indexes: aha from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ANSI color to HTML converter | https://github.com/theZiz/aha
- apk - aha-doc - 0.5.1-r3: normalized package name match | Alpine Linux edge package indexes: aha-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ANSI color to HTML converter (documentation) | https://github.com/theZiz/aha
- dnf - aha - 0.5.1-17.fc45: normalized package name match | Fedora Rawhide package metadata: aha from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Convert terminal output to HTML | https://github.com/theZiz/aha
- pacman - aha - 0.5.1-3: normalized package name match | Arch Linux sync databases: aha from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Ansi HTML Adapter: convert ANSI escape sequences to HTML | https://github.com/theZiz/aha
- zypper - aha - 0.5.1-1.23: normalized package name match | openSUSE Tumbleweed package metadata: aha from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | ANSI color to HTML converter | https://github.com/theZiz/aha/
- MacPorts - aha: normalized package name match | MacPorts ports tree: textproc/aha/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/aha.yml](https://github.com/mxcl/pkgdb/blob/main/combined/aha.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
