Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sudo curl -o /usr/local/bin/imgcat -O https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/imgcat && sudo chmod +x /usr/local/bin/imgcat
# If you have a better way to fix the permissions, comment below!
@wesbos

This comment has been minimized.

Copy link
Owner Author

commented Feb 19, 2016

Even though its not a JS module, apparently it's on npm too! so just npm install imgcat -g

@davecarter

This comment has been minimized.

Copy link

commented Feb 19, 2016

Great! Thanks for sharing 👍

@vexhack

This comment has been minimized.

Copy link

commented Feb 23, 2017

And if you care to you can also syslink it: ln -s /usr/local/bin/imgcat imgcat

@Barbery

This comment has been minimized.

Copy link

commented Aug 23, 2018

thank you!

@ytyng

This comment has been minimized.

Copy link

commented Dec 25, 2018

Thank you, but

https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/imgcat
content is

# moved to https://iterm2.com/utilities/imgcat

We can use
sudo curl -o /usr/local/bin/imgcat -O https://iterm2.com/utilities/imgcat && sudo chmod +x /usr/local/bin/imgcat

https://iterm2.com/documentation-images.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.