npm login
npm init
, and writing your package code.npm publish
, making it available for others to install and use.npm publish
 again.package.json
"bin": {
"devwords": "./bin/devwords-cli.js"
},
devwords-cli.js
#!/usr/bin/env node
npm link