-
-
Save channprj/31751a01955567d2f370af5d11097c25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Local | |
curl -L https://iterm2.com/misc/install_shell_integration_and_utilities.sh | bash | |
curl -L https://iterm2.com/utilities/imgcat > ${HOME}/.iterm2/imgcat | |
# Remote server | |
sudo curl -o /usr/local/bin/imgcat -O https://iterm2.com/utilities/imgcat && sudo chmod +x /usr/local/bin/imgcat | |
# sudo wget https://iterm2.com/utilities/imgcat /usr/local/bin && sudo chmod +x /usr/local/bin/imgcat | |
# Enjoy it now! :-) | |
imgcat /tmp/sample.png | |
# Reference | |
# 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