How to Install global-prefix NPM Packages on Ubuntu / Debian

How to Install global-prefix software package in NPM Packages

global-prefix : Get the npm global path prefix.. You can installing global-prefix 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-prefix
$ sudo npm install -g global-prefix

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

$ sudo npm update global-prefix

Update package globally,

$ npm install -g global-prefix

Git clone:

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

global-prefix@1.0.2 /usr/lib/node_modules/global-prefix

How to remove global-prefix package :

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

$ sudo npm uninstall global-prefix

Basic Information of global-prefix NPM Package:

Package Name global-prefix
Version 1.0.2
Description Get the npm global path prefix.
Released Date 2017-08-06T00:15:30.359Z
Published by phated
How to Learn https://www.npmjs.com/package/global-prefix/tutorial