# viu mit Homebrew, apk, MacPorts, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für viu in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:viu
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install viu
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install viu
```

  Evidenz: MacPorts ports tree: graphics/viu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add viu
```

  Evidenz: Alpine Linux edge package indexes: viu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#viu
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/vi/viu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S viu
```

  Evidenz: Arch Linux sync databases: viu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install viu
```

  Evidenz: openSUSE Tumbleweed package metadata: viu from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:viu
- **Paketmanager:** Homebrew
- **Version:** 1.6.1
- **Quellzusammenfassung:** Simple terminal image viewer written in Rust
- **Homepage:** <https://github.com/atanunq/viu>
- **Repository:** <https://github.com/atanunq/viu>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- viu (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.6.1
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- batch input source_facts.description and current_curation.tags
- <https://crates.io/crates/viu>
- <https://docs.rs/viu/0.2.2>
- <https://github.com/atanunq/viu>
- <https://github.com/atanunq/viu/releases>
- <https://github.com/atanunq/viuer>


## Sicherheitshinweise

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

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal

## Andere Paketmanager-Einträge

- Nix - viu: normalized package name match | nixpkgs package indexes: pkgs/by-name/vi/viu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - viu - 1.6.1-r0: normalized package name match | Alpine Linux edge package indexes: viu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal image viewer | https://github.com/atanunq/viu
- apk - viu-doc - 1.6.1-r0: normalized package name match | Alpine Linux edge package indexes: viu-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal image viewer (documentation) | https://github.com/atanunq/viu
- pacman - viu - 1.6.1-2: normalized package name match | Arch Linux sync databases: viu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Simple terminal image viewer | https://github.com/atanunq/viu
- zypper - viu - 1.5.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: viu from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Terminal image viewer with native support | https://github.com/atanunq/viu
- MacPorts - viu: normalized package name match | MacPorts ports tree: graphics/viu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/viu.yml](https://github.com/mxcl/pkgdb/blob/main/combined/viu.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
