https://github.com/sindresorhus/terminal-image-cli
Display images in the terminal
https://github.com/sindresorhus/terminal-image-cli
cli-app image nodejs npm-package terminal-image
Last synced: 28 days ago
JSON representation
Display images in the terminal
- Host: GitHub
- URL: https://github.com/sindresorhus/terminal-image-cli
- Owner: sindresorhus
- License: mit
- Created: 2018-05-08T16:29:27.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-07-26T14:12:24.000Z (9 months ago)
- Last Synced: 2025-03-28T21:23:19.864Z (about 1 month ago)
- Topics: cli-app, image, nodejs, npm-package, terminal-image
- Language: JavaScript
- Size: 601 KB
- Stars: 272
- Watchers: 2
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# 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](screenshot-iterm.jpg), since iTerm has [special image support](https://www.iterm2.com/documentation-images.html).*
## Install
```sh
npm install --global terminal-image-cli
```## Usage
```
$ image --helpUsage
$ image
$ cat | imageExamples
$ image unicorn.jpg
$ cat unicorn.jpg | image
```## Related
- [terminal-image](https://github.com/sindresorhus/terminal-image) - API for this package
- [terminal-link-cli](https://github.com/sindresorhus/terminal-link-cli) - Create clickable links in the terminal