npm install -g terminal-image-viewer
Usage: tiv [options] <path or url to image file>
Options:
-V, --version output the version number
-c, --character [character] character to filled (default: @)
-w, --width [width] resize image width
-h, --height [height] resize image height
-h, --help output usage information
- using
TERM=xterm-256color
if the terminal not display color