Automic VaultAutomic Vault

brew

Install viu with Homebrew, apk, MacPorts, Nix, pacman, zypper

Simple terminal image viewer written in Rust. Version 1.6.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install viu

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install viu

MacPorts ports tree · graphics/viu/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add viu

Alpine Linux edge package indexes · viu · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#viu

nixpkgs package indexes · pkgs/by-name/vi/viu/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S viu

Arch Linux sync databases · viu · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install viu

openSUSE Tumbleweed package metadata · viu · source: download.opensuse.org

overview

Package summary

Simple terminal image viewer written in Rust

Commands and aliases

  • viu

history

Project history and usage

viu is a Rust command-line image viewer for terminals. The project describes itself as a small application and as the frontend for the `viuer` library, using terminal graphics protocols when available and falling back to character-cell rendering otherwise.

Its niche is quick image inspection inside terminal workflows, especially when leaving the shell for a graphical viewer would interrupt a file-management, SSH, or scripting session.

Project history

Early viu documentation described a Rust tool that rendered images with Unicode half-block characters, fitting two vertical pixels into one terminal cell by using foreground and background colors. Later README documentation emphasizes native iTerm and Kitty graphics protocol support, with fallback block rendering when those protocols are unavailable.

The current project is closely tied to `viuer`, a Rust library for displaying images in terminals. This split lets the executable remain a focused CLI while the rendering logic can also be reused by other Rust programs.

Adoption history

viu's adoption is strongest in the modern terminal-tooling niche rather than in a large application ecosystem. It appears in Rust package indexes, OS package collections, and recommendation lists for users who want image previews from the command line.

Recent GitHub release and issue activity shows continued attention to practical terminal protocol support, including error handling, dependency refreshes, block-output forcing, and experimental Sixel work.

How it is used

Users invoke `viu` with an image path, GIF, or input stream to preview media directly in the terminal. The README documents source installation with Cargo, binary releases, packages, examples, aspect-ratio handling, and command-line options.

When a supported terminal is detected, viu can use higher-fidelity inline image protocols; otherwise it remains usable through color block rendering. That fallback is important for broad terminal compatibility.

Why package nerds care

viu is significant as a compact Rust media CLI that bridges old and new terminal capabilities. It turns the terminal from a text-only surface into a lightweight visual inspection surface without making the user adopt a full TUI file manager.

For package collectors, it sits with tools such as `chafa`, `timg`, and terminal file managers that rely on Kitty, iTerm, Sixel, truecolor, or Unicode rendering tricks to bring richer media into shells.

Timeline

  • 2019: Public discussion and early package pages show viu as a Rust terminal image viewer using block rendering and iTerm or Kitty support.
  • 2020s: The project centered the reusable `viuer` library and documented viu as its CLI frontend.
  • 2024-2026: Release and issue activity continued around dependency updates, error behavior, block rendering, Sixel support, and additional image formats.

Related projects

  • viu is directly related to `viuer`, the Rust library that provides its terminal image rendering behavior.
  • Comparable terminal image viewers include `timg`, `chafa`, and other tools that target Sixel, Kitty graphics, iTerm inline images, truecolor, or block-character fallbacks.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
viucliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.6.1
manager updated
local dataok
upstreamcurrent
latest detectedv1.6.1

https://github.com/atanunq/viu

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:viu
Version1.6.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/viu
Homepagehttps://github.com/atanunq/viu
Repositoryhttps://github.com/atanunq/viu
Upstream docshttps://github.com/atanunq/viu#readme
LicenseMIT
Source archivehttps://github.com/atanunq/viu/archive/refs/tags/v1.6.1.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

viu

nix profile install nixpkgs#viu
  • normalized package name match
  • Matched by: Viu
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/vi/viu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

viu 1.6.1-r0

Terminal image viewer

https://github.com/atanunq/viu

sudo apk add viu
  • License: MIT
  • Architecture: x86_64
  • Source Package: viu
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Viu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: viu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

viu-doc 1.6.1-r0

Terminal image viewer (documentation)

https://github.com/atanunq/viu

sudo apk add viu-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: viu
  • normalized package name match
  • Matched by: Viu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: viu-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

viu 1.6.1-2

Simple terminal image viewer

https://github.com/atanunq/viu

sudo pacman -S viu
  • License: MIT
  • Architecture: x86_64
  • 3 dependencies
  • normalized package name match
  • Matched by: Viu
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: viu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

viu 1.5.1-1.3

Terminal image viewer with native support

https://github.com/atanunq/viu

sudo zypper install viu
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: viu
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Viu
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: viu from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

viu

sudo port install viu
  • normalized package name match
  • Matched by: Viu
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/viu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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