📣 重要更新 — 访问方式将于 2026 年 10 月 1 日更改

2026 年 10 月 1 日中午(英国时间)起,此镜像源将需要身份验证以保持 apt 正常运行。
从构建这些软件包的 GitHub 仓库下载软件包始终免费
订阅年度套餐即可通过 apt 免费即时获取更新,同时直接支持本项目的持续运营。感谢您的支持!🙏

🔑 获取年度订阅

€15 / $15 / £15 每年 — 不支持您的货币时以美元计费。

💬 有关此仓库的问题、反馈或其他事项?加入我们的 Discord 社区 — 获取帮助并与其他用户交流的最佳场所。
曾通过 Buy Me a Coffee 支持过我们?您太棒了!前往我们的 Discord,我们将为您安排终身免费订阅。💜

🖼️ 在 Debian 上安装最新的 viu

用 Rust 编写的命令行图片查看器

最新版本:1.6.1 · 更新于 2026-07-17
来源版本
deb.griffo.io1.6.1 ✅
官方 Debian🚫 未收录
← 返回首页

什么是 viu?

viu is a small but powerful command-line image viewer written in Rust that displays images directly in your terminal. It adapts to your terminal's capabilities, using the best available protocol — from the high-fidelity Kitty and iTerm2 graphics protocols down to Unicode block characters as a universal fallback.

🚀 Why Latest Versions Matter: viu continuously improves support for new image formats, terminal protocols, and display options. The latest releases include AVIF support, improved Kitty protocol rendering, better GIF animation handling, and performance optimizations for large images.

⚡ Key Features of viu

🖼️ Multiple Display Protocols

Supports Kitty terminal graphics protocol, iTerm2 inline images, Sixel graphics, and Unicode block characters — automatically picks the best one for your terminal.

📦 Wide Format Support

Displays PNG, JPEG, GIF, BMP, ICO, TIFF, WebP, AVIF, and many more formats via Rust's image crate.

🎞️ GIF Animation

Plays animated GIFs directly in the terminal, looping through frames at the correct frame rate.

📏 Flexible Sizing

Control width, height, or let viu auto-fit the image to your terminal window. Useful for pipelines and scripting.

🔗 Pipe-Friendly

Reads from stdin or file arguments, making it composable with tools like curl, find, and shell pipelines.

⚡ Fast & Lightweight

Written in Rust — minimal startup time, low memory footprint, and no runtime dependencies beyond the binary.

🖥️ Supported Terminal Protocols

  • Kitty: Full-resolution pixel-perfect images (kitty, Ghostty, WezTerm)
  • iTerm2: Inline image protocol (iTerm2, WezTerm, Tabby, VSCode)
  • Sixel: Compatible with foot, Windows Terminal, and many classic terminals
  • Unicode blocks: Universal fallback — works in every terminal

📦 Installation from deb.griffo.io

步骤 1:添加仓库

sudo install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null sudo apt update
install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null apt update

步骤 2:安装 viu

# Install latest viu sudo apt install viu # Verify installation viu --version
# Install latest viu apt install viu # Verify installation viu --version

🎯 使用示例

Basic usage:

# Display a single image viu image.png # Display multiple images viu *.jpg # Display from stdin curl -sL https://example.com/photo.jpg | viu - # Display a GIF animation viu animation.gif

Sizing options:

# Set width in terminal columns viu -w 80 image.png # Set height in terminal rows viu -h 24 image.png # Disable auto-resizing viu -s image.png

Pipeline examples:

# Browse images in a directory for f in ~/Pictures/*.jpg; do viu -w 40 "$f"; done # Use with fzf to browse and preview find . -name "*.png" | fzf --preview "viu -w 60 {}"

🚀 为什么选择 deb.griffo.io?

📊 Repository Comparison:
  • Official Debian: viu is not packaged in official Debian repositories
  • Cargo Install: Requires Rust toolchain and compilation time
  • deb.griffo.io: Latest version available immediately via apt

📦 软件包构建仓库

Debian 软件包在此 GitHub 仓库中自动构建和维护:

🔗 相关软件包

也可从 deb.griffo.io 获取:

🎯 Perfect for: Developers previewing assets from the terminal, sysadmins checking images over SSH, users of Kitty, Ghostty, or WezTerm who want pixel-perfect image display, and anyone integrating image previews into shell scripts or tools like yazi and fzf.

💝 Support This Project

If this repository saves you time and effort, please consider supporting it!

⭐ Star on GitHub 🐦 Share on Twitter

📦 本仓库最近发布

❓ 常见问题

viu 在官方 Debian 软件源中吗?

不在 — 官方 Debian 源没有打包 viu。本仓库目前是唯一的 apt 来源,提供 viu 1.6.1。

如何在 Debian 上安装最新版 viu?

按上方说明一次性添加 deb.griffo.io 仓库,然后运行:sudo apt install viu。之后通过常规的 sudo apt upgrade 获取新版本。

软件包是否有签名?如何构建?

每个软件包都使用仓库的 GPG 密钥(EA0F721D231FDD3A0A17B9AC7808B4DD62C41256)签名,并基于上游发布在公开的 GitHub 仓库中构建,任何人都可以审查。

支持哪些 Debian 版本?

Debian 12 Bookworm、Debian 13 Trixie、Forky 和 Sid。