You can install it like so
$ mkdir ~/bin $ echo "export PATH=~/bin:$PATH" >> ~/.zshrc $ cd ~/bin $ wget https://raw.github.com/pranavk/gist-cli/master/gistcli $ chmod 755 gistcli $ source ~/.zshrc
# simple echo to gist echo "test gist" | gistcli # file to gist gistcli -f myfile.txt # private echo "ssssh, don't tell anyone!" | gistcli -p # from tty, EOF from '.' on it's own line gistcli - Foo, bar bah bing! .