# Installer chafa avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de chafa pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:chafa
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install chafa
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install chafa
```

  Preuve: MacPorts ports tree: graphics/chafa/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add chafa
```

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

- Debian apt (92%):

```sh
sudo apt install chafa
```

  Preuve: Debian stable package indexes: chafa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install chafa
```

  Preuve: Fedora Rawhide package metadata: chafa 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#chafa
```

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

- pacman (92%):

```sh
sudo pacman -S chafa
```

  Preuve: Arch Linux sync databases: chafa from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install chafa
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/chafa
```

  Preuve: Scoop official bucket manifest trees: bucket/chafa.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id hpjansson.Chafa -e
```

  Preuve: Windows Package Manager source index: hpjansson.Chafa from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:chafa
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.18.2
- **Résumé source:** Versatile and fast Unicode/ASCII/ANSI graphics renderer
- **Page d'accueil:** <https://hpjansson.org/chafa/>
- **Dépôt:** <https://github.com/hpjansson/chafa>
- **Dernière mise à jour:** 2026-07-05T23:07:18Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- chafa (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.18.2
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <https://hpjansson.org/chafa/>
- <https://hpjansson.org/chafa/download/>
- <https://hpjansson.org/chafa/development/>
- <https://hpjansson.org/blag/2018/04/24/introducing-chafa/>
- <https://hpjansson.org/blag/2020/04/01/chafa-1-4-0-now-with-sixels/>
- <https://github.com/hpjansson/chafa/blob/master/README.md>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - chafa - 1.14.5-1: normalized package name match | Debian stable package indexes: chafa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Image-to-text converter supporting a wide range of symbols, etc. | https://hpjansson.org/chafa/
- Debian apt - libchafa-dev - 1.14.5-1: normalized package name match | Debian stable package indexes: libchafa-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for image-to-text converter chafa | https://hpjansson.org/chafa/
- Debian apt - libchafa0t64 - 1.14.5-1: normalized package name match | Debian stable package indexes: libchafa0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for image-to-text converter chafa | https://hpjansson.org/chafa/
- Nix - chafa: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/chafa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - chafa - 1.14.0-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: chafa from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Image-to-text converter supporting a wide range of symbols, etc. | https://hpjansson.org/chafa/
- Ubuntu apt - libchafa-dev - 1.14.0-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libchafa-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for image-to-text converter chafa | https://hpjansson.org/chafa/
- Ubuntu apt - libchafa0t64 - 1.14.0-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libchafa0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for image-to-text converter chafa | https://hpjansson.org/chafa/
- apk - chafa - 1.18.2-r0: normalized package name match | Alpine Linux edge package indexes: chafa from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal graphics for the 21st century | https://hpjansson.org/chafa
- apk - chafa-bash-completion - 1.18.2-r0: normalized package name match | Alpine Linux edge package indexes: chafa-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for chafa | https://hpjansson.org/chafa
- apk - chafa-dev - 1.18.2-r0: normalized package name match | Alpine Linux edge package indexes: chafa-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal graphics for the 21st century (development files) | https://hpjansson.org/chafa
- apk - chafa-doc - 1.18.2-r0: normalized package name match | Alpine Linux edge package indexes: chafa-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal graphics for the 21st century (documentation) | https://hpjansson.org/chafa
- apk - chafa-fish-completion - 1.18.2-r0: normalized package name match | Alpine Linux edge package indexes: chafa-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for chafa | https://hpjansson.org/chafa
- apk - chafa-libs - 1.18.2-r0: normalized package name match | Alpine Linux edge package indexes: chafa-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal graphics for the 21st century (libraries) | https://hpjansson.org/chafa
- apk - chafa-zsh-completion - 1.18.2-r0: normalized package name match | Alpine Linux edge package indexes: chafa-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for chafa | https://hpjansson.org/chafa
- dnf - chafa - 1.18.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: chafa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Image-to-text converter for terminal | https://hpjansson.org/chafa/
- dnf - chafa-devel - 1.18.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: chafa-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Image-to-text converter for terminal (development files) | https://hpjansson.org/chafa/


## Combined YAML source

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


## Sources

- 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
