feh – a fast and light imlib2 based image viewer

feh is an X11 image viewer aimed mostly at console users. Unlike most other viewers, it does not have a fancy GUI, but simply displays images. It is controlled via commandline arguments and configurable key/mouse actions.

It is released under a variant of the MIT license. For anything feh-related, you're welcome to join #feh on irc.oftc.net.

feh v2.17.1


feh-2.17.1.tar.bz2 (signature)

  • Fix compilation on systems where HOST_NAME_MAX is not defined, such as FreeBSD (patch by Niclas Zeising)

Archive - Bugs - Release feed



The feh manual explains the various operation modes and options in detail.
You might also be interested in the Changelog.
There is a growing list of examples and screenshots.


Download the source code of the latest release here: feh v2.17.1 (signature). Or check out the latest development version: feh git.

feh is also shipped by many Linux/BSD distributions, including Arch Linux, Debian, FreeBSD, Gentoo, OpenBSD and Ubuntu.

Building from source

You can easily compile feh from source, e.g. to try out the latest changes in the git repository. All you need is GNU make, a C compiler (gcc/clang) and some libraries.

Example for Debian:

First, install the dependencies:
apt-get install libcurl4-openssl-dev libx11-dev libxt-dev libimlib2-dev libxinerama-dev libjpeg-progs

Then, either get the latest tarball:
wget http://feh.finalrewind.org/feh-2.17.1.tar.bz2
tar -xjf feh-2.17.1.tar.bz2
cd feh-2.17.1

or check out the git version:
git clone git://git.finalrewind.org/feh || git clone git://github.com/derf/feh.git
cd feh

Now, compile and install feh:
sudo make install


Please report bugs, feature requests or any other source code related stuff on the GitHub issue tracker. You can also poke derf0 on #feh (irc.oftc.net) or send a mail to derf+feh at finalrewind dot org, though GitHub issues are preferred.

famfamfam iki