In Termial, run
npx <url-of-this-gist>
Each time you make any change, remember to update the version in package.json
#!/usr/bin/env node | |
function test() { | |
console.log('Hello, world!'); | |
} | |
test(); |
{ | |
"name": "locate-yourself", | |
"version": "1.0", | |
"bin": "./index.js" | |
} |