Skip to content

Instantly share code, notes, and snippets.

@Tynael Tynael/
Last active Jan 24, 2020

What would you like to do?
How to use npx to run gist based scripts
#!/usr/bin/env node
console.log("I was executed from a gist inside the terminal with npx!");
"name": "run-js-with-npx-from-gist",
"version": "1.0.0",
"bin": "./index.js"

This comment has been minimized.

Copy link

dagolinuxoid commented Jan 24, 2020

You did a good job of explaining npx

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.