Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 chafa

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install chafa

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install chafa

MacPorts ports tree · graphics/chafa/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add chafa

Alpine Linux edge package indexes · chafa · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install chafa

Debian stable package indexes · chafa · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install chafa

Fedora Rawhide package metadata · chafa · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#chafa

nixpkgs package indexes · pkgs/by-name/ch/chafa/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S chafa

Arch Linux sync databases · chafa · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install chafa

openSUSE Tumbleweed package metadata · chafa · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/chafa

Scoop official bucket manifest trees · bucket/chafa.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id hpjansson.Chafa -e

Windows Package Manager source index · hpjansson.Chafa · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Versatile and fast Unicode/ASCII/ANSI graphics renderer

命令和别名

  • chafa

历史

项目历史与用法

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.

时间线

  • 2018: Chafa was introduced publicly as an open-source terminal graphics tool.
  • 2020: Chafa 1.4.0 added sixel output, expanding from character-cell mosaics into terminal pixel graphics protocols.
  • 2021: Chafa 1.8 broadened terminal graphics support, according to the official release-post list on the project site.
  • 2024: Chafa 1.14 was announced in the official release-post list.
  • 2026: The official download page lists Chafa 1.18.2 released on 2026-04-30.

Related projects

  • The introductory Chafa post places it in a lineage with aalib, libcaca, and timg. Official pages also point to chafapy, chafa-wasm, HarfBuzz hb-view, Neofetch, Offpunk, Telescope media files, and chafa.nvim as related bindings or consumers.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 11 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
chafacli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.18.2
管理器更新时间2026-07-05
本地数据OK
上游not checked
检测到的最新版本未检测到

https://hpjansson.org/chafa/

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namechafa
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

chafa 1.14.5-1

Image-to-text converter supporting a wide range of symbols, etc.

https://hpjansson.org/chafa/

sudo apt install chafa
  • Section: graphics
  • Architecture: amd64
  • 11 依赖
  • normalized package name match
  • 匹配方式:Chafa
Debian stable package indexes · deb.debian.org · Debian stable package indexes: chafa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libchafa-dev 1.14.5-1

development files for image-to-text converter chafa

https://hpjansson.org/chafa/

sudo apt install libchafa-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: chafa
  • 1 依赖
  • normalized package name match
  • 匹配方式:Chafa
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libchafa-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libchafa0t64 1.14.5-1

library for image-to-text converter chafa

https://hpjansson.org/chafa/

sudo apt install libchafa0t64
  • Section: libs
  • Architecture: amd64
  • Source Package: chafa
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Chafa
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libchafa0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

chafa

nix profile install nixpkgs#chafa
  • normalized package name match
  • 匹配方式:Chafa
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ch/chafa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

chafa 1.14.0-1.1build1

Image-to-text converter supporting a wide range of symbols, etc.

https://hpjansson.org/chafa/

sudo apt install chafa
  • Section: universe/graphics
  • Architecture: amd64
  • 11 依赖
  • normalized package name match
  • 匹配方式:Chafa
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: chafa from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libchafa-dev 1.14.0-1.1build1

development files for image-to-text converter chafa

https://hpjansson.org/chafa/

sudo apt install libchafa-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: chafa
  • 1 依赖
  • normalized package name match
  • 匹配方式:Chafa
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libchafa-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libchafa0t64 1.14.0-1.1build1

library for image-to-text converter chafa

https://hpjansson.org/chafa/

sudo apt install libchafa0t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: chafa
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Chafa
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libchafa0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

chafa 1.18.2-r0

Terminal graphics for the 21st century

https://hpjansson.org/chafa

sudo apk add chafa
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: chafa
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Chafa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: chafa from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

chafa-bash-completion 1.18.2-r0

Bash completions for chafa

https://hpjansson.org/chafa

sudo apk add chafa-bash-completion
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: chafa
  • normalized package name match
  • 匹配方式:Chafa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: chafa-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

chafa-dev 1.18.2-r0

Terminal graphics for the 21st century (development files)

https://hpjansson.org/chafa

sudo apk add chafa-dev
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: chafa
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Chafa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: chafa-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

chafa-doc 1.18.2-r0

Terminal graphics for the 21st century (documentation)

https://hpjansson.org/chafa

sudo apk add chafa-doc
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: chafa
  • normalized package name match
  • 匹配方式:Chafa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: chafa-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

chafa-fish-completion 1.18.2-r0

Fish completions for chafa

https://hpjansson.org/chafa

sudo apk add chafa-fish-completion
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: chafa
  • normalized package name match
  • 匹配方式:Chafa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: chafa-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

chafa-libs 1.18.2-r0

Terminal graphics for the 21st century (libraries)

https://hpjansson.org/chafa

sudo apk add chafa-libs
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: chafa
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Chafa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: chafa-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

chafa-zsh-completion 1.18.2-r0

Zsh completions for chafa

https://hpjansson.org/chafa

sudo apk add chafa-zsh-completion
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: chafa
  • normalized package name match
  • 匹配方式:Chafa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: chafa-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

chafa 1.18.2-1.fc45

Image-to-text converter for terminal

https://hpjansson.org/chafa/

sudo dnf install chafa
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: chafa
  • 14 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Chafa
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: chafa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

chafa-devel 1.18.2-1.fc45

Image-to-text converter for terminal (development files)

https://hpjansson.org/chafa/

sudo dnf install chafa-devel
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: chafa
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Chafa
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: chafa-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment