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

How to Install git-rev-sync software package in NPM Packages

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

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

$ sudo npm update git-rev-sync

Update package globally,

$ npm install -g git-rev-sync

Git clone:

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

git-rev-sync@1.9.1 /usr/lib/node_modules/git-rev-sync

How to remove git-rev-sync package :

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

$ sudo npm uninstall git-rev-sync

Basic Information of git-rev-sync NPM Package:

Package Name git-rev-sync
Version 1.9.1
Description Synchronously get the current git commit hash, tag, or branch
Released Date 2017-04-25T19:09:35.998Z
Published by kurttheviking
How to Learn https://www.npmjs.com/package/git-rev-sync/tutorial