Skip to content

sindresorhus/terminal-image-cli

Repository files navigation

terminal-image-cli

Display images in the terminal

Works in any terminal that supports colors. Supports animated GIFs.

In iTerm, the image will be displayed in full resolution, since iTerm has special image support.

Install

npm install --global terminal-image-cli

Usage

$ image --help

  Usage
    $ image <image>
    $ cat <image> | image

  Examples
    $ image unicorn.jpg
    $ cat unicorn.jpg | image

Related