How to Install git-repo-info NPM Packages on Ubuntu / Debian

How to Install git-repo-info software package in NPM Packages

git-repo-info : Retrieve current sha and branch name from a git repo.. You can installing git-repo-info 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-repo-info
$ sudo npm install -g git-repo-info

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

$ sudo npm update git-repo-info

Update package globally,

$ npm install -g git-repo-info

Git clone:

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

git-repo-info@1.4.1 /usr/lib/node_modules/git-repo-info

How to remove git-repo-info package :

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

$ sudo npm uninstall git-repo-info

Basic Information of git-repo-info NPM Package:

Package Name git-repo-info
Version 1.4.1
Description Retrieve current sha and branch name from a git repo.
Released Date 2017-02-10T15:51:24.403Z
Published by rwjblue
How to Learn https://www.npmjs.com/package/git-repo-info/tutorial