npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

terminal-image-cli

4.0.0

@sindresorhus

npmHomeRepoSnykSocket
Downloads:1851
$ npm install terminal-image-cli
DailyWeeklyMonthlyYearly

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

  • terminal-image - API for this package
  • terminal-link-cli - Create clickable links in the terminal