Read the article [Building a simple command line tool with npm] Run the example In your project, run npm install --save coronita-cli In your project's package.json file, add a scripts key