Skip to content

sindresorhus/terminal-image-cli

terminal-image-cli

Display images in the terminal

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

In iTerm, Kitty, WezTerm, and other terminals with graphics support, the image will be displayed in full resolution. In other terminals, it will be rendered using ANSI block characters.

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

About

Display images in the terminal

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •