How to Install generator-mocha NPM Packages on Ubuntu / Debian

How to Install generator-mocha software package in NPM Packages

generator-mocha : Yeoman generator for Mocha. You can installing generator-mocha 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 generator-mocha
$ sudo npm install -g generator-mocha

If want to update the generator-mocha package execute the command as below,

$ sudo npm update generator-mocha

Update package globally,

$ npm install -g generator-mocha

Git clone:

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

generator-mocha@2.0.0 /usr/lib/node_modules/generator-mocha

How to remove generator-mocha package :

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

$ sudo npm uninstall generator-mocha

Basic Information of generator-mocha NPM Package:

Package Name generator-mocha
Version 2.0.0
Description Yeoman generator for Mocha
Released Date 2017-07-19T18:31:52.515Z
Published by mischah
How to Learn https://www.npmjs.com/package/generator-mocha/tutorial