How to Install global NPM Packages on Ubuntu / Debian

How to Install global software package in NPM Packages

global : Require global variables. You can installing global 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 global
$ sudo npm install -g global

If want to update the global package execute the command as below,

$ sudo npm update global

Update package globally,

$ npm install -g global

Git clone:

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

global@4.3.2 /usr/lib/node_modules/global

How to remove global package :

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

$ sudo npm uninstall global

Basic Information of global NPM Package:

Package Name global
Version 4.3.2
Description Require global variables
Released Date 2017-04-19T05:35:48.867Z
Published by raynos
How to Learn https://www.npmjs.com/package/global/tutorial