Running locally npm install node index.js Making it executable Add this as the first line of index.js #!/usr/bin/env node Add this to your package.json: "bin": "index.js"