How to run gist from terminal command line directly

  • Posted on: 18 January 2019
  • By: stillfinder

Lets say you have a URL of the gitst, that you would like run from the terminal without copy/paste and creating a new file. It's doable, and it's pretty easy. You just have to put the next command in your terminal:

bash <(curl -s URL_OF_YOUR_FILE)

For example:

Also, any other services can be used, not only git.