# 使用 Homebrew, apk, Nix, pacman, zypper 安装 chawan

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

## 安装

```sh
sudo av install brew:chawan
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install chawan
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add chawan
```

  证据: Alpine Linux edge package indexes: chawan from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#chawan
```

  证据: nixpkgs package indexes: pkgs/by-name/ch/chawan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S chawan
```

  证据: Arch Linux sync databases: chawan from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install chawan
```

  证据: openSUSE Tumbleweed package metadata: chawan from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:chawan
- **软件包管理器:** Homebrew
- **版本:** 0.4.4
- **来源摘要:** TUI web browser with CSS, inline image and JavaScript support
- **主页:** <https://sr.ht/~bptato/chawan/>
- **最后更新:** 2026-07-24T17:46:47Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cha (别名)
- mancha (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.4.4
## 项目历史与用法

Chawan is a Unix-like text-mode web browser and pager that aims to implement modern web standards in a self-contained terminal browser, including CSS, optional inline images, and optional JavaScript.

### 项目历史

Chawan is developed primarily in Nim and hosted on SourceHut, with Codeberg listed as another source mirror. The official news archive begins with the 0.2.0 release in June 2025 and shows active 0.3 and 0.4 releases through June 2026.

### 采用历史

The official site lists volunteer-maintained stable packages for Alpine Linux, Arch Linux, Debian testing, FreeBSD, Gentoo guru, Homebrew, NixOS, Slackware, and Void Linux, plus unstable packages through AUR, AppImage, Gentoo live ebuild, and Homebrew HEAD. That breadth is unusual for a young terminal browser and makes its packaging story part of the project identity.

### 使用方式

The `cha` command opens URLs and files, can act as a pager, supports web, SFTP, FTP, gopher, gemini, file, finger, and spartan browsing, and can dump rendered content when stdout is not a TTY. The config documentation defines the canonical `~/.chawan/config.toml` path and XDG/`CHA_DIR` alternatives.

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

Chawan is significant to package nerds because it revives the terminal-browser category with modern packaging friction: image protocols, QuickJS, sandboxing, Nim, multiple Unix distributions, and headless rendering all need to be expressed cleanly in distro formulas. It is also interesting as a modern counterpart to older text browsers such as w3m while using newer terminal capabilities.

### 时间线

- 2025-06: Official news archive lists Chawan 0.2.0.
- 2025-11: Official news archive lists Chawan 0.3.0.
- 2026-05: Official news archive lists Chawan 0.4.0.
- 2026-06: Official news archive lists Chawan 0.4.3.

### Related projects

- Chame is Chawan's HTML5 parser subproject.
- Chagashi is a related pure-Nim character coding library.
- Monoucha is a related QuickJS binding generator and runtime glue project.
- w3m and vi are cited by the official site as UI inspirations.

### 来源

- <https://chawan.net/>
- <https://chawan.net/news/index.html>
- <https://chawan.net/doc/cha/cha.html>
- <https://chawan.net/doc/cha/config.html>
- <https://git.sr.ht/~bptato/chawan>


## 安全说明

没有找到 chawan 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $CHA_DIR/config.toml, ${XDG_CONFIG_HOME:-~/.config}/chawan/config.toml, ~/.chawan/config.toml
## 其他软件包管理器记录

- Nix - chawan: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/chawan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - chawan - 0.4.4-r0: normalized package name match | Alpine Linux edge package indexes: chawan from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | TUI web browser | https://git.sr.ht/~bptato/chawan
- apk - chawan-doc - 0.4.4-r0: normalized package name match | Alpine Linux edge package indexes: chawan-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | TUI web browser (documentation) | https://git.sr.ht/~bptato/chawan
- pacman - chawan - 0.4.4-1: normalized package name match | Arch Linux sync databases: chawan from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A text-mode web browser and pager for Unix-like systems | https://chawan.net/
- zypper - chawan - 0.3.3-2.4: normalized package name match | openSUSE Tumbleweed package metadata: chawan from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Terminal-based web browser and pager | https://chawan.net/


## Combined YAML source

View the package source record on GitHub. [combined/chawan.yml](https://github.com/mxcl/pkgdb/blob/main/combined/chawan.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
