How to Install commander NPM Packages on Ubuntu / Debian

How to Install commander software package in NPM Packages

commander : the complete solution for node.js command-line programs. You can installing commander npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install commander
$ sudo npm install -g commander

If want to update the commander package execute the command as below,

$ sudo npm update commander

Update package globally,

$ npm install -g commander

Git clone:

$ sudo  git clone https://github.com/rektide/commander.git
$ sudo  npm install -g ./commander

commander@2.12.1 /usr/lib/node_modules/commander

How to remove commander package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall commander

Basic Information of commander NPM Package:

Package Name commander
Version 2.12.1
Description the complete solution for node.js command-line programs
Released Date 2017-11-23T10:18:50.901Z
Published by abetomo
How to Learn https://www.npmjs.com/package/commander/tutorial