How to Install optimist NPM Packages on Ubuntu / Debian

How to Install optimist software package in NPM Packages

optimist : Light-weight option parsing with an argv hash. No optstrings attached.. You can installing optimist 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 optimist
$ sudo npm install -g optimist

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

$ sudo npm update optimist

Update package globally,

$ npm install -g optimist

Git clone:

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

optimist@0.6.1 /usr/lib/node_modules/optimist

How to remove optimist package :

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

$ sudo npm uninstall optimist

Basic Information of optimist NPM Package:

Package Name optimist
Version 0.6.1
Description Light-weight option parsing with an argv hash. No optstrings attached.
Released Date 2014-02-06T05:40:56.954Z
Published by substack
How to Learn https://www.npmjs.com/package/optimist/tutorial