Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts, Nix 安装 terminalimageviewer

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install terminalimageviewer

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tiv

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

Linux

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

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

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

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

概览

软件包摘要

Display images in a terminal using block graphic characters

命令和别名

  • tiv

历史

项目历史与用法

TerminalImageViewer, usually invoked as `tiv`, is a C++ terminal image viewer that renders images using RGB ANSI colors and Unicode block graphics. It belongs to the lineage of tools that treat a modern terminal as a low-resolution graphics surface.

项目历史

The GitHub repository was created in April 2016. The README notes that examples were mostly produced with an older Java version, but development later shifted to the C++ implementation; by October 2020 the Java version was explicitly deprecated.

The project's distinguishing technique is its 4-by-8 pixel cell mapping. Instead of only using the Unicode half-block approach common to related tools such as timg, TerminalImageViewer chooses block characters and foreground/background colors that better approximate each cell.

采用历史

The first GitHub release listed by the official releases page is v1.0.0 in December 2018. The README documents Homebrew installation for macOS and mentions third-party RPM and Docker packaging; this batch input also lists Debian, Ubuntu, MacPorts, Nix, and Homebrew package names.

Maintenance after the initial release focused on portability and packaging: README notes call out Homebrew support being fixed in 2020, Apple Clang support in 2021, and MSVC/native Windows support plus Apache-2.0-or-GPL-3.0 licensing in 2023.

使用方式

Users run `tiv` with one or more image filenames; shells can expand wildcards, and the tool shows thumbnails and file names when multiple images are supplied. The README warns users to install ImageMagick and to tune terminal color mode, font, and line spacing when output looks wrong.

The README also documents a library-style API around `tiv_lib.h` and `tiv_lib.cc`, allowing callers to map framebuffer pixels to terminal character/color data. That makes the project useful beyond one-off image previews.

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

For terminal-heavy users, tiv is a compact answer to the question 'can I inspect this image without leaving the shell?' It is especially relevant in SSH sessions, image-processing pipelines, build artifacts, and README demos where a graphical viewer is awkward or unavailable.

Package nerds also care because it exercises modern terminal capabilities: truecolor ANSI output, Unicode coverage, terminal line metrics, and optional fallbacks such as 256-color mode.

时间线

  • 2016: Public GitHub repository created on April 8.
  • 2018: v1.0.0 initial release published.
  • 2020: README notes Homebrew support was fixed and the Java version was deprecated.
  • 2021: README notes Apple Clang support was added.
  • 2023: v1.2 added MSVC/native Windows support and dual Apache-2.0/GPL-3.0-or-later licensing.
  • 2024: README added a section on using the TIV API.

Related projects

  • The README explicitly compares tiv with timg and other Unicode half-block image renderers. It is also adjacent to terminal media viewers, sixel/iTerm image protocols, and documentation screenshot tools.

来源

  • GitHub README: https://github.com/stefanhaustein/TerminalImageViewer#readme
  • GitHub releases: https://github.com/stefanhaustein/TerminalImageViewer/releases
  • GitHub repository metadata: https://api.github.com/repos/stefanhaustein/TerminalImageViewer
  • Input source_facts.package-manager

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:image

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/stefanhaustein/TerminalImageViewer

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

安装元数据

软件包元数据

软件包键brew:terminalimageviewer
版本1.2.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/terminalimageviewer
主页https://github.com/stefanhaustein/TerminalImageViewer
仓库https://github.com/stefanhaustein/TerminalImageViewer
上游文档https://github.com/stefanhaustein/TerminalImageViewer#readme
许可证Apache-2.0
源码归档https://github.com/stefanhaustein/TerminalImageViewer/archive/refs/tags/v1.2.1.tar.gz
依赖imagemagick
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

MacPorts94%

tiv

sudo port install tiv
  • installed executable or alias match
  • 匹配方式:Tiv
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/tiv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

tiv 1.2.1+dfsg-1+b2

high-resolution command-line image viewer

https://github.com/stefanhaustein/TerminalImageViewer

sudo apt install tiv
  • Section: graphics
  • Architecture: amd64
  • Source Package: tiv
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Tiv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tiv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

tiv

nix profile install nixpkgs#tiv
  • installed executable or alias match
  • 匹配方式:Tiv
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ti/tiv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

tiv 1.2.1+dfsg-1

high-resolution command-line image viewer

https://github.com/stefanhaustein/TerminalImageViewer

sudo apt install tiv
  • Section: universe/graphics
  • Architecture: amd64
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Tiv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tiv from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

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