# 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/aha>
- **バージョン:** 0.5.1
- **ソース概要:** ANSI HTML adapter
- **ホームページ:** <https://github.com/theZiz/aha>
- **リポジトリ:** <https://github.com/theZiz/aha>
- **ライセンス:** LGPL-2.0-or-later OR MPL-1.1
- **ソースアーカイブ:** <https://github.com/theZiz/aha/archive/refs/tags/0.5.1.tar.gz>
- **最終更新:** 2026-07-10T16:49:54-04:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- aha (cli)
- aha (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.5.1
- マネージャ更新日: 2026-07-10
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/theZiz/aha
- 検出された最新: 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

## ソースデータベース詳細

- **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:** head, stable

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [asn](https://pkg.so/ja/brew/asn/) - Popular package that depends on this formula.
- [ansifilter](https://pkg.so/ja/brew/ansifilter/) - Shares pkgdb curated category or tags: ansi, cli, developer-tools, html, terminal.
- [sequin](https://pkg.so/ja/brew/sequin/) - Shares pkgdb curated category or tags: ansi, cli, developer-tools, terminal.
- [libxml2](https://pkg.so/ja/brew/libxml2/) - Shares pkgdb curated category or tags: cli, developer-tools, html.
- [fzf](https://pkg.so/ja/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [neovim](https://pkg.so/ja/brew/neovim/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [pandoc](https://pkg.so/ja/brew/pandoc/) - Shares pkgdb curated category or tags: cli, developer-tools, html.
- [starship](https://pkg.so/ja/brew/starship/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [tidy-html5](https://pkg.so/ja/brew/tidy-html5/) - Shares pkgdb curated category or tags: cli, developer-tools, html.
- [cfonts](https://pkg.so/ja/brew/cfonts/) - Local package facts share a topical domain. Shared terms: ansi, cli, developer, developer-tools, terminal.
- [chalk-cli](https://pkg.so/ja/brew/chalk-cli/) - Local package facts share a topical domain. Shared terms: ansi, cli, developer, developer-tools, terminal.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
