How to Install gh-pages NPM Packages on Ubuntu / Debian

How to Install gh-pages software package in NPM Packages

gh-pages : Publish to a gh-pages branch on GitHub (or any other branch on any other remote). You can installing gh-pages 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 gh-pages
$ sudo npm install -g gh-pages

If want to update the gh-pages package execute the command as below,

$ sudo npm update gh-pages

Update package globally,

$ npm install -g gh-pages

Git clone:

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

gh-pages@1.1.0 /usr/lib/node_modules/gh-pages

How to remove gh-pages package :

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

$ sudo npm uninstall gh-pages

Basic Information of gh-pages NPM Package:

Package Name gh-pages
Version 1.1.0
Description Publish to a gh-pages branch on GitHub (or any other branch on any other remote)
Released Date 2017-11-17T21:57:05.390Z
Published by tschaub
How to Learn https://www.npmjs.com/package/gh-pages/tutorial