macOS
brew install timglocal Homebrew formula metadata
sudo port install timgMacPorts ports tree · graphics/timg/Portfile · 来源: api.github.com
安装
brew install timglocal Homebrew formula metadata
sudo port install timgMacPorts ports tree · graphics/timg/Portfile · 来源: api.github.com
sudo apk add timgAlpine Linux edge package indexes · timg · 来源: dl-cdn.alpinelinux.org
sudo dnf install timgFedora Rawhide package metadata · timg · 来源: dl.fedoraproject.org
nix profile install nixpkgs#timgnixpkgs package indexes · pkgs/by-name/ti/timg/package.nix · 来源: api.github.com
sudo zypper install timgopenSUSE 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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
timg | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/hzeller/timg
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | timg |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
timg 1.6.0-1+b1
terminal image and video viewer
https://github.com/hzeller/timg
sudo apt install timgtimg
nix profile install nixpkgs#timgtimg 1.5.2-1build2
terminal image and video viewer
https://github.com/hzeller/timg
sudo apt install timgtimg 1.6.3-r0
24-Bit color image viewer for terminal
https://github.com/hzeller/timg
sudo apk add timgtimg-doc 1.6.3-r0
24-Bit color image viewer for terminal (documentation)
https://github.com/hzeller/timg
sudo apk add timg-doctimg 1.6.3-5.fc44
A terminal image and video viewer
https://github.com/hzeller/timg
sudo dnf install timgtimg 1.6.3-1.6
Terminal image viewer
https://github.com/hzeller/timg
sudo zypper install timgtimg
sudo port install timg来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.