macOS
brew install chafalocal Homebrew formula metadata
sudo port install chafaMacPorts ports tree · graphics/chafa/Portfile · 来源: api.github.com
安装
brew install chafalocal Homebrew formula metadata
sudo port install chafaMacPorts ports tree · graphics/chafa/Portfile · 来源: api.github.com
sudo apk add chafaAlpine Linux edge package indexes · chafa · 来源: dl-cdn.alpinelinux.org
sudo dnf install chafaFedora Rawhide package metadata · chafa · 来源: dl.fedoraproject.org
nix profile install nixpkgs#chafanixpkgs package indexes · pkgs/by-name/ch/chafa/package.nix · 来源: api.github.com
sudo pacman -S chafaArch Linux sync databases · chafa · 来源: geo.mirror.pkgbuild.com
sudo zypper install chafaopenSUSE Tumbleweed package metadata · chafa · 来源: download.opensuse.org
scoop install main/chafaScoop official bucket manifest trees · bucket/chafa.json · 来源: api.github.com
winget install --id hpjansson.Chafa -eWindows Package Manager source index · hpjansson.Chafa · 来源: cdn.winget.microsoft.com
概览
Versatile and fast Unicode/ASCII/ANSI graphics renderer
历史
Chafa is a terminal graphics renderer and C library that converts images and animations into ANSI, Unicode, sixel, Kitty, and related terminal graphics formats. It moved from a clever ANSI-art utility into a widely packaged terminal-media component with bindings and downstream integrations.
Hans Petter Jansson introduced Chafa on April 24, 2018 as an open-source tool for displaying graphics in terminal environments. The project site describes it as a command-line utility plus a documented, stable C API; the README says it can handle animated GIFs and produce graphics or ANSI/Unicode character art for terminals ranging from historical teleprinters to modern emulators.
Chafa's official download page says packages are available for many Linux distributions, Windows, Homebrew, and MacPorts, and lists Arch, Brew, Debian, Fedora, FreeBSD, Gentoo, Guix, Kali, MacPorts, OpenBSD, openSUSE, Ubuntu, Scoop, and Winget examples. The supplied input also records broad package-manager coverage across apk, brew, Debian, dnf, MacPorts, Nix, pacman, Scoop, Ubuntu, Winget, and zypper.
Users invoke chafa to render images and animations in terminals, choosing symbol sets, color modes, terminal graphics protocols, and output sizing. Developers can use libchafa through its C API, and the official site points to Python bindings and JavaScript/WebAssembly bindings for embedding the renderer in other tools.
Chafa matters to package nerds because it is a cross-platform terminal-media primitive: small enough to ship as a CLI, useful as a library, and visible in package ecosystems because terminal applications increasingly want inline image previews. Its official development page lists downstream users including Kew, Felix, HarfBuzz hb-view, nb, Neofetch, Offpunk, Oyomu, and Neovim plugins.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
chafa | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:chafa |
|---|---|
| 版本 | 1.18.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/chafa |
| 主页 | https://hpjansson.org/chafa/ |
| 仓库 | https://github.com/hpjansson/chafa |
| 上游文档 | https://hpjansson.org/chafa |
| 许可证 | LGPL-3.0-or-later |
| 源码归档 | https://hpjansson.org/chafa/releases/chafa-1.18.2.tar.xz |
| 最后更新 | 2026-07-05T23:07:18Z |
| Pulse | updated |
| 依赖 | cairo, freetype, gdk-pixbuf, gettext, glib, jpeg-turbo, jpeg-xl, libavif, librsvg, libtiff, webp |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | chafa |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
chafa 1.14.5-1
Image-to-text converter supporting a wide range of symbols, etc.
sudo apt install chafalibchafa-dev 1.14.5-1
development files for image-to-text converter chafa
sudo apt install libchafa-devlibchafa0t64 1.14.5-1
library for image-to-text converter chafa
sudo apt install libchafa0t64chafa
nix profile install nixpkgs#chafachafa 1.14.0-1.1build1
Image-to-text converter supporting a wide range of symbols, etc.
sudo apt install chafalibchafa-dev 1.14.0-1.1build1
development files for image-to-text converter chafa
sudo apt install libchafa-devlibchafa0t64 1.14.0-1.1build1
library for image-to-text converter chafa
sudo apt install libchafa0t64chafa 1.18.2-r0
Terminal graphics for the 21st century
sudo apk add chafachafa-bash-completion 1.18.2-r0
Bash completions for chafa
sudo apk add chafa-bash-completionchafa-dev 1.18.2-r0
Terminal graphics for the 21st century (development files)
sudo apk add chafa-devchafa-doc 1.18.2-r0
Terminal graphics for the 21st century (documentation)
sudo apk add chafa-docchafa-fish-completion 1.18.2-r0
Fish completions for chafa
sudo apk add chafa-fish-completionchafa-libs 1.18.2-r0
Terminal graphics for the 21st century (libraries)
sudo apk add chafa-libschafa-zsh-completion 1.18.2-r0
Zsh completions for chafa
sudo apk add chafa-zsh-completionchafa 1.18.2-1.fc45
Image-to-text converter for terminal
sudo dnf install chafachafa-devel 1.18.2-1.fc45
Image-to-text converter for terminal (development files)
sudo dnf install chafa-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.