Guide and Overview
What it does in plain English
timg is a handy utility that lets you inspect images, play videos, and scroll through animated GIFs directly inside your text terminal. It automatically adapts to your terminal’s capabilities, using advanced graphic protocols for high-resolution output or clever color character blocks as a reliable fallback. You can quickly check photos over remote connections or browse through folders of images in an organized grid view without ever leaving your command prompt.
Who it’s for
- Command-line enthusiasts who want to inspect images and media quickly without leaving the shell
- Developers and system administrators working on remote servers via secure shell connections
- Anyone looking for a lightweight way to preview media files directly inside terminal file managers
Key features
- Displays static pictures, animated GIFs, and plays full video files in-line
- Organizes multiple files into customizable grid views or contact sheets for quick browsing
- Auto-detects modern terminal graphic capabilities for pristine, full-resolution display
- Falls back to colored text blocks for universal compatibility across standard shells
- Supports automatic cropping, resizing, background color adjustment, and rotation
How to install (Download)
- Linux (Universal AppImage): Download for Linux (.AppImage)
- Debian / Ubuntu: Run
sudo apt install timgin your terminal. - macOS: Run
brew install timgusing Homebrew. - NixOS: Run
nix-env -i timgvia the Nix package manager.
Pros and Cons
- Pros: Free and open-source, works over remote connections, highly customizable display settings.
- Cons: Advanced high-resolution features require modern terminal emulators, video decoding depends on system libraries.
Sponsored Partner Tools (#ad)
Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.
- ★ Top Recommended — Systeme.io: Free-forever all-in-one platform to build landing pages, newsletters, and automated workflows with zero monthly fees — Activate Systeme.io → (#ad)
- AdGuard: Block intrusive ads, tracking scripts, and phishing domains system-wide across all browsers and desktop apps — AdGuard (#ad)
- InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — InterServer (#ad)
Official Source & Credits: Official Source / Credits