How to Install semver NPM Packages on Ubuntu / Debian

How to Install semver software package in NPM Packages

semver : The semantic version parser used by npm.. You can installing semver 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 semver
$ sudo npm install -g semver

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

$ sudo npm update semver

Update package globally,

$ npm install -g semver

Git clone:

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

semver@5.4.1 /usr/lib/node_modules/semver

How to remove semver package :

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

$ sudo npm uninstall semver

Basic Information of semver NPM Package:

Package Name semver
Version 5.4.1
Description The semantic version parser used by npm.
Released Date 2017-07-24T18:48:27.785Z
Published by isaacs
How to Learn https://www.npmjs.com/package/semver/tutorial