# 使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 catimg

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

## 安装

```sh
sudo av install brew:catimg
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install catimg
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add catimg
```

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

- Debian apt (92%):

```sh
sudo apt install catimg
```

  证据: Debian stable package indexes: catimg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install catimg
```

  证据: Fedora Rawhide package metadata: catimg 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#catimg
```

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

- pacman (92%):

```sh
sudo pacman -S catimg
```

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

- zypper (92%):

```sh
sudo zypper install catimg
```

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

## 软件包事实

- **软件包键:** brew:catimg
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/catimg>
- **版本:** 2.8.0
- **来源摘要:** Insanely fast image printing in your terminal
- **主页:** <https://github.com/posva/catimg>
- **仓库:** <https://github.com/posva/catimg>
- **许可证:** MIT
- **源码归档:** <https://github.com/posva/catimg/archive/refs/tags/v2.8.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- catimg (cli)
- catimg (别名)

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.8.0
- 本地数据: OK
- 上游仓库: https://github.com/posva/catimg
- 检测到的最新版本: v2.8.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Catimg is a terminal image renderer. Its README describes a small C program with no dependencies that prints JPEG, PNG, and GIF images in the terminal.

### 项目历史

The README says catimg was originally a script that used ImageMagick convert before becoming a C implementation. It keeps script-era documentation for the older dependency path while presenting the C version as the fast default.

### 采用历史

The README documents Homebrew, Arch Linux, and Fedora installation examples, and the supplied package facts add Alpine, Debian, Nix, Ubuntu, and openSUSE packaging. That spread reflects the appeal of a tiny visual CLI utility across Unix package sets.

### 使用方式

catimg is used directly from the terminal to render image files using ANSI colors and optional Unicode high-resolution output. The README highlights the tradeoff between the older script's color accuracy and the C version's speed.

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

catimg is the kind of package that makes terminal environments feel playful without bringing in a GUI stack. It is also easy to package because the current C tool is small, MIT-licensed, and largely self-contained.

### 时间线

- 2013: The repository links to the author's original catimg article from May 27.
- 2026: Homebrew formula packages v2.8.0 from the official release archive.
- 2026: The README continues to document package-manager installation examples.

### Related projects

- Related tools include ImageMagick convert, which powered the original script version, and terminal graphics/image viewers that render media through ANSI colors or Unicode cells.

### 来源

- <https://api.github.com/repos/posva/catimg>
- <https://github.com/posva/catimg>
- <https://github.com/posva/catimg#readme>
- <https://formulae.brew.sh/api/formula/catimg.json>
- <https://github.com/posva/catimg/releases>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** catimg
- **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 - catimg - 2.7.0-4: normalized package name match | Debian stable package indexes: catimg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast image printing in to your terminal | https://github.com/posva/catimg
- Nix - catimg: normalized package name match | nixpkgs package indexes: pkgs/by-name/ca/catimg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - catimg - 2.7.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: catimg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast image printing in to your terminal | https://github.com/posva/catimg
- apk - catimg - 2.8.0-r0: normalized package name match | Alpine Linux edge package indexes: catimg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | terminal image renderer | https://github.com/posva/catimg
- apk - catimg-doc - 2.8.0-r0: normalized package name match | Alpine Linux edge package indexes: catimg-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | terminal image renderer (documentation) | https://github.com/posva/catimg
- dnf - catimg - 2.8.0-4.fc45: normalized package name match | Fedora Rawhide package metadata: catimg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Print images in a terminal with 256 colors support | https://github.com/posva/catimg
- pacman - catimg - 2.8.0-1: normalized package name match | Arch Linux sync databases: catimg from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Print images in a terminal with 256 colors support | https://github.com/posva/catimg
- zypper - catimg - 2.8.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: catimg from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Insanely fast image printing in your terminal | https://posva.net/shell/retro/bash/2013/05/27/catimg
- zypper - catimg-zsh-completion - 2.8.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: catimg-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | ZSH Completion for catimg | https://posva.net/shell/retro/bash/2013/05/27/catimg


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [feh](https://pkg.so/zh-hans/brew/feh/) - Shares pkgdb curated category or tags: cli, image-viewer, media.
- [geeqie](https://pkg.so/zh-hans/brew/geeqie/) - Shares pkgdb curated category or tags: cli, image-viewer, media.
- [pqiv](https://pkg.so/zh-hans/brew/pqiv/) - Shares pkgdb curated category or tags: cli, image-viewer, media.
- [viu](https://pkg.so/zh-hans/brew/viu/) - Shares pkgdb curated category or tags: cli, image-viewer, media, terminal.
- [timg](https://pkg.so/zh-hans/brew/timg/) - Shares pkgdb curated category or tags: cli, image-viewer, media, terminal.
- [lsix](https://pkg.so/zh-hans/brew/lsix/) - Shares pkgdb curated category or tags: cli, image-viewer, media, terminal.
- [terminalimageviewer](https://pkg.so/zh-hans/brew/terminalimageviewer/) - Shares pkgdb curated category or tags: cli, image-viewer, media, terminal.
- [tpix](https://pkg.so/zh-hans/brew/tpix/) - Shares pkgdb curated category or tags: cli, image-viewer, media, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/catimg.yml](https://github.com/mxcl/pkgdb/blob/main/combined/catimg.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
