Image preview in iTerm2


iTerm2 has a couple of neat utilities for displaying images in a terminal window:

  • imgcat - displays an image
  • imgls - directory listing with a thumbnail

For example, to view all the images in a directory tree:

imgcat $(find . -name "*.png")

Documentation and download

Date: 2019-06-18

Tags:  macos

Share: