iv

command module
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

iv

iv is a command-line image viewer using terminal graphics (Sixel, iTerm, Kitty).

Installing | Building | Using | Releases

Releases Discord Discussion

Overview

iv is a command-line image viewer using terminal graphics.

Uses Sixel, iTerm Inline Images, or Kitty graphics protocols where available. See Are We Sixel Yet? for a list of terminals known to work with this package.

Installing

iv can be installed via Release, via Homebrew, via AUR, via Scoop or via Go:

Installing via Release
  1. Download a release for your platform
  2. Extract the iv or iv.exe file from the .tar.bz2 or .zip file
  3. Move the extracted executable to somewhere on your $PATH (Linux/macOS) or %PATH% (Windows)
Installing via Homebrew (macOS and Linux)

Install iv from the kenshaw/iv tap in the usual way with the brew command:

# install
$ brew install kenshaw/iv/iv
Installing via AUR (Arch Linux)

Install iv from the Arch Linux AUR in the usual way with the yay command:

# install
$ yay -S iv-cli

Alternately, build and install using makepkg:

# clone package repo and make/install package
$ git clone https://aur.archlinux.org/iv-cli.git && cd iv-cli
$ makepkg -si
==> Making package: iv-cli 0.4.4-1 (Sat 11 Nov 2023 02:28:28 PM WIB)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
...
Installing via Scoop (Windows)

Install iv using Scoop:

# Optional: Needed to run a remote script the first time
> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

# install scoop if not already installed
> irm get.scoop.sh | iex

# install iv with scoop
> scoop install iv
Installing via Go

Install iv in the usual Go fashion:

# install latest iv version
$ go install github.com/kenshaw/iv@latest

Using

$ iv /path/to/image_or_directory

# a data: URL or WIFI: code
$ iv 'WIFI:S:mynetwork;T:WPA;P:secret;;'

# a remote image
$ iv https://example.com/image.png

# a specific page of a pdf, epub, or comic archive
$ iv -p 4 /path/to/document.pdf

# convert instead of displaying -- the encoder follows the output extension
$ iv --out out.webp /path/to/image.heic

# the registered decoders, encoders, and file extensions
$ iv --list

# all command line options
$ iv --help

Documentation

Overview

Command iv is a command-line image viewer using terminal graphics (Sixel, iTerm, Kitty).

Directories

Path Synopsis
Package decoder provides the decoder registration and resolution mechanisms for iv.
Package decoder provides the decoder registration and resolution mechanisms for iv.
all
Package all registers every iv decoder.
Package all registers every iv decoder.
archives
Package archives supplies a comic book archive decoder for iv.
Package archives supplies a comic book archive decoder for iv.
binwalk
Package binwalk supplies a decoder for iv that extracts images embedded in otherwise unrecognized files using the `binwalk` command.
Package binwalk supplies a decoder for iv that extracts images embedded in otherwise unrecognized files using the `binwalk` command.
bmp
Package bmp supplies a bmp decoder for iv.
Package bmp supplies a bmp decoder for iv.
data
Package data supplies an inline data: URL decoder for iv.
Package data supplies an inline data: URL decoder for iv.
ffmpeg
Package ffmpeg supplies a video decoder for iv, snapshotting a frame with the `ffmpeg` command.
Package ffmpeg supplies a video decoder for iv, snapshotting a frame with the `ffmpeg` command.
fitz
Package fitz supplies a mupdf (fitz) decoder for iv, covering document formats such as epub, xps, mobi, and fb2.
Package fitz supplies a mupdf (fitz) decoder for iv, covering document formats such as epub, xps, mobi, and fb2.
fontimg
Package fontimg supplies a font preview decoder for iv.
Package fontimg supplies a font preview decoder for iv.
gif
Package gif supplies a gif decoder for iv.
Package gif supplies a gif decoder for iv.
graphviz
Package graphviz supplies a graphviz (dot) decoder for iv.
Package graphviz supplies a graphviz (dot) decoder for iv.
http
Package http supplies a http/https URL decoder for iv, fetching the remote resource and handing it back to the decoding pipeline.
Package http supplies a http/https URL decoder for iv, fetching the remote resource and handing it back to the decoding pipeline.
icns
Package icns supplies an icns (Apple Icon Image) decoder for iv.
Package icns supplies an icns (Apple Icon Image) decoder for iv.
ico
Package ico supplies an ico decoder for iv.
Package ico supplies an ico decoder for iv.
jpeg
Package jpeg supplies a jpeg decoder for iv.
Package jpeg supplies a jpeg decoder for iv.
libreoffice
Package libreoffice supplies an office document decoder for iv, converting documents to pdf with the `soffice` command.
Package libreoffice supplies an office document decoder for iv, converting documents to pdf with the `soffice` command.
markdown
Package markdown supplies a markdown decoder for iv, rendering markdown to pdf and handing it back to the pipeline.
Package markdown supplies a markdown decoder for iv, rendering markdown to pdf and handing it back to the pipeline.
mermaid
Package mermaid supplies a mermaid diagram decoder for iv, rendering diagrams with the mermaid cli (mmdc).
Package mermaid supplies a mermaid diagram decoder for iv, rendering diagrams with the mermaid cli (mmdc).
nativewebp
Package nativewebp supplies a webp decoder for iv.
Package nativewebp supplies a webp decoder for iv.
netpbm
Package netpbm supplies a netpbm decoder for iv.
Package netpbm supplies a netpbm decoder for iv.
png
Package png supplies a png decoder for iv.
Package png supplies a png decoder for iv.
qr
Package qr supplies a QR code decoder for iv, rendering WIFI: codes as images.
Package qr supplies a QR code decoder for iv, rendering WIFI: codes as images.
resvg
Package resvg supplies a svg decoder for iv.
Package resvg supplies a svg decoder for iv.
tag
Package tag supplies an audio metadata decoder for iv, rendering embedded album art.
Package tag supplies an audio metadata decoder for iv, rendering embedded album art.
tiff
Package tiff supplies a tiff decoder for iv.
Package tiff supplies a tiff decoder for iv.
vips
Package vips supplies a libvips decoder for iv, covering the image formats and pdfs that the Go decoders do not handle.
Package vips supplies a libvips decoder for iv, covering the image formats and pdfs that the Go decoders do not handle.
winres
Package winres supplies a Windows PE decoder for iv, rendering the icons embedded in an executable.
Package winres supplies a Windows PE decoder for iv, rendering the icons embedded in an executable.
Package encoder provides the encoder registration mechanisms for iv.
Package encoder provides the encoder registration mechanisms for iv.
all
Package all registers every iv encoder.
Package all registers every iv encoder.
jpeg
Package jpeg supplies a jpeg encoder for iv.
Package jpeg supplies a jpeg encoder for iv.
nativewebp
Package nativewebp supplies a webp encoder for iv.
Package nativewebp supplies a webp encoder for iv.
png
Package png supplies a png encoder for iv.
Package png supplies a png encoder for iv.
rasterm
Package rasterm supplies the terminal graphics encoder for iv.
Package rasterm supplies the terminal graphics encoder for iv.
vips
Package vips supplies libvips backed encoders for iv, covering the output formats the Go encoders do not handle.
Package vips supplies libvips backed encoders for iv, covering the output formats the Go encoders do not handle.
internal
cmd
Package cmd provides lazily resolved external commands for iv decoders that shell out (ffmpeg, soffice, mmdc, binwalk).
Package cmd provides lazily resolved external commands for iv decoders that shell out (ffmpeg, soffice, mmdc, binwalk).
Package ivcmd contains the iv command.
Package ivcmd contains the iv command.
Package ivctx provides the configuration, context plumbing, and shared helpers used by the iv decoder and encoder pipelines.
Package ivctx provides the configuration, context plumbing, and shared helpers used by the iv decoder and encoder pipelines.
Package vips has the shared internals for the vips iv decoder and encoder.
Package vips has the shared internals for the vips iv decoder and encoder.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL