How to Install compare-version NPM Packages on Ubuntu / Debian

How to Install compare-version software package in NPM Packages

compare-version : Compare semver version numbers. You can installing compare-version 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 compare-version
$ sudo npm install -g compare-version

If want to update the compare-version package execute the command as below,

$ sudo npm update compare-version

Update package globally,

$ npm install -g compare-version

Git clone:

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

compare-version@0.1.2 /usr/lib/node_modules/compare-version

How to remove compare-version package :

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

$ sudo npm uninstall compare-version

Basic Information of compare-version NPM Package:

Package Name compare-version
Version 0.1.2
Description Compare semver version numbers
Released Date 2014-04-23T06:32:15.726Z
Published by kevva
How to Learn https://www.npmjs.com/package/compare-version/tutorial