How to Install git-rev NPM Packages on Ubuntu / Debian

How to Install git-rev software package in NPM Packages

git-rev : get the current git commit hash, tag or branch in node. You can installing git-rev 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 git-rev
$ sudo npm install -g git-rev

If want to update the git-rev package execute the command as below,

$ sudo npm update git-rev

Update package globally,

$ npm install -g git-rev

Git clone:

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

git-rev@0.2.1 /usr/lib/node_modules/git-rev

How to remove git-rev package :

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

$ sudo npm uninstall git-rev

Basic Information of git-rev NPM Package:

Package Name git-rev
Version 0.2.1
Description get the current git commit hash, tag or branch in node
Released Date 2013-01-29T21:59:48.114Z
Published by tblobaum
How to Learn https://www.npmjs.com/package/git-rev/tutorial