How to Install yargs NPM Packages on Ubuntu / Debian

How to Install yargs software package in NPM Packages

yargs : yargs the modern, pirate-themed, successor to optimist.. You can installing yargs 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 yargs
$ sudo npm install -g yargs

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

$ sudo npm update yargs

Update package globally,

$ npm install -g yargs

Git clone:

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

yargs@10.0.3 /usr/lib/node_modules/yargs

How to remove yargs package :

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

$ sudo npm uninstall yargs

Basic Information of yargs NPM Package:

Package Name yargs
Version 10.0.3
Description yargs the modern, pirate-themed, successor to optimist.
Released Date 2017-10-21T02:34:50.553Z
Published by bcoe
How to Learn https://www.npmjs.com/package/yargs/tutorial