A few days ago, I built a CLI for a key-value store. Now I had to share it with the world. For that, I used npm. And It was incredibly easy.

STEP 1
Register at https://www.npmjs.com/signup

STEP 2

npm login

STEP 3

npm publish

That's it. Now, don't forget to publish your module again after making changes. Also, don't forget to bump the version in package.json before publishing.