How to Install diff NPM Packages on Ubuntu / Debian

How to Install diff software package in NPM Packages

diff : A javascript text diff implementation.. You can installing diff 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 diff
$ sudo npm install -g diff

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

$ sudo npm update diff

Update package globally,

$ npm install -g diff

Git clone:

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

diff@3.4.0 /usr/lib/node_modules/diff

How to remove diff package :

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

$ sudo npm uninstall diff

Basic Information of diff NPM Package:

Package Name diff
Version 3.4.0
Description A javascript text diff implementation.
Released Date 2017-10-07T16:39:16.693Z
Published by kpdecker
How to Learn https://www.npmjs.com/package/diff/tutorial