How to Install node-getopt NPM Packages on Ubuntu / Debian

How to Install node-getopt software package in NPM Packages

node-getopt : featured command line args parser. You can installing node-getopt 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 node-getopt
$ sudo npm install -g node-getopt

If want to update the node-getopt package execute the command as below,

$ sudo npm update node-getopt

Update package globally,

$ npm install -g node-getopt

Git clone:

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

node-getopt@0.2.3 /usr/lib/node_modules/node-getopt

How to remove node-getopt package :

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

$ sudo npm uninstall node-getopt

Basic Information of node-getopt NPM Package:

Package Name node-getopt
Version 0.2.3
Description featured command line args parser
Released Date 2013-01-28T12:37:05.610Z
Published by jiangmiao
How to Learn https://www.npmjs.com/package/node-getopt/tutorial