How to Install node-gyp NPM Packages on Ubuntu / Debian

How to Install node-gyp software package in NPM Packages

node-gyp : Node.js native addon build tool. You can installing node-gyp 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 node-gyp
$ sudo npm install -g node-gyp

If want to update the node-gyp package execute the command as below,

$ sudo npm update node-gyp

Update package globally,

$ npm install -g node-gyp

Git clone:

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

node-gyp@3.6.2 /usr/lib/node_modules/node-gyp

How to remove node-gyp package :

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

$ sudo npm uninstall node-gyp

Basic Information of node-gyp NPM Package:

Package Name node-gyp
Version 3.6.2
Description Node.js native addon build tool
Released Date 2017-06-01T22:15:28.478Z
Published by rvagg
How to Learn https://www.npmjs.com/package/node-gyp/tutorial