Pixterm is a lightweight terminal tool that lets you display images directly inside the terminal using ANSI and Unicode characters. It supports popular image formats such as PNG, JPEG, GIF, BMP, TIFF, and WebP, allowing you to preview images from local files or URLs without using a graphical image viewer.
Here’s what you can do with Pixterm in Termux:
- Display images directly in the terminal.
- View PNG, JPEG, GIF, BMP, TIFF, and WebP images.
- Open images from local files or URLs.
- Resize images to fit the terminal.
- Use different dithering modes.
- Preview images without a graphical interface.
Install Pixterm in Termux
Below are the simple commands to install Pixterm in Termux. Copy and run each command one by one to install the tool.
Update Termux packages.
pkg update && pkg upgrade -yInstall Git and Go.
pkg install git golang -yClone the Pixterm repository.
git clone https://github.com/eliukblau/pixterm.gitMove into the project directory.
cd pixtermInstall Pixterm.
go install ./cmd/pixtermCopy the binary to the Termux binary directory.
cp ~/go/bin/pixterm $PREFIX/bin/Pixterm is now installed and ready to use.
Use Pixterm in Termux
After installing Pixterm, grant Termux permission to access your device storage.
termux-setup-storageMove to your internal storage.
cd /sdcardOpen your image folder.
cd PicturesDisplay an image.
pixterm image.pngDisplay an image from a URL.
pixterm https://example.com/image.pngUse fit scaling.
pixterm -s 2 image.pngUse character dithering.
pixterm -d 2 image.pngRemove the background color.
pixterm -nobg image.pngShow the installed version.
pixterm -versionDisplay the help menu.
pixterm -helpReplace image.png with the name or path of your image file.
End Note
Pixterm is a simple and fun tool that lets you view images in the terminal. It is easy to install, easy to use, and a great way to display images from the command line using just a few commands.

