Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper 安装 timg

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install timg

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install timg

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

Linux

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

Terminal image and video viewer

历史

项目历史与用法

timg is a terminal image and video viewer that renders media using terminal graphics protocols or Unicode/block-character fallbacks.

项目历史

The official repository describes timg as a user-friendly terminal viewer for images and videos. It supports Sixel, Kitty, and iTerm2 graphics protocols for full-resolution display, with 24-bit color and Unicode block fallbacks for terminals without graphics support.

The official GitHub releases show v0.9.0 as the first public release in June 2016. Later releases added features such as video playback, iTerm2 graphics support, Kitty graphics support, grid display, and maintenance fixes, with v1.6.3 published in 2025.

采用历史

timg was adopted in the terminal-media niche as modern terminals gained richer image protocols. The input package-manager data lists apk, Homebrew, Debian, Fedora, MacPorts, Nix, Ubuntu, and openSUSE, showing that it moved beyond a single-distro novelty.

Its packaging footprint reflects demand from users who want previews over SSH, inside terminal file-manager workflows, or during command-line media triage.

使用方式

The common use case is quick visual inspection without leaving the shell: displaying images, animated GIFs, videos, and other supported media directly in a terminal.

In terminals with graphics protocol support, timg can display real image data; otherwise it degrades to block-based representations that are still useful for previews.

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

timg is notable to package nerds because it sits at the intersection of terminal capability detection, graphics protocol support, and lightweight CLI media tooling.

It is often compared with other terminal viewers such as chafa, viu, catimg, and sixel-oriented tools, but its package appeal comes from combining image, GIF, and video preview behavior in one installed command.

时间线

  • 2016-06: v0.9.0 first public release.
  • 2021-02: v1.0.0 release added grid display, threaded loading, and long options.
  • 2021-03: v1.2.0 highlighted iTerm2 graphics support and v1.1.0 highlighted Kitty graphics support.
  • 2025-09: v1.6.3 maintenance release published.

Related projects

  • Related terminal image tools include chafa, viu, catimg, imgcat, and other Sixel, Kitty, or iTerm2 graphics viewers.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:video,image

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本1.6.3
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.6.3

https://github.com/hzeller/timg

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:timg
版本1.6.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/timg
主页https://timg.sh/
仓库https://github.com/hzeller/timg
上游文档https://github.com/hzeller/timg#readme
许可证GPL-2.0-only
源码归档https://github.com/hzeller/timg/archive/refs/tags/v1.6.3.tar.gz
依赖cairo, ffmpeg, gdk-pixbuf, gettext, glib, graphicsmagick, jpeg-turbo, libdeflate, libexif, libpng, librsvg, libsixel, openslide, poppler, webp
构建依赖cmake, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametimg
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

timg 1.6.0-1+b1

terminal image and video viewer

https://github.com/hzeller/timg

sudo apt install timg
  • Section: graphics
  • Architecture: amd64
  • Source Package: timg
  • 19 依赖
  • normalized package name match
  • 匹配方式:Timg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: timg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

timg

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

timg 1.5.2-1build2

terminal image and video viewer

https://github.com/hzeller/timg

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

timg 1.6.3-r0

24-Bit color image viewer for terminal

https://github.com/hzeller/timg

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

timg-doc 1.6.3-r0

24-Bit color image viewer for terminal (documentation)

https://github.com/hzeller/timg

sudo apk add timg-doc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: timg
  • normalized package name match
  • 匹配方式:Timg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: timg-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

timg 1.6.3-5.fc44

A terminal image and video viewer

https://github.com/hzeller/timg

sudo dnf install timg
  • License: GPL-2.0-only AND MIT AND (MIT OR Unlicense)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: timg
  • 21 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Timg
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: timg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

timg 1.6.3-1.6

Terminal image viewer

https://github.com/hzeller/timg

sudo zypper install timg
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: timg
  • 19 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Timg
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: timg from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

timg

sudo port install timg
  • normalized package name match
  • 匹配方式:Timg
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/timg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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