Thomas Sampson

NodeJS (NPM) Global Package Management

Listing Globally Installed Modules

The following command lists all globally installed modules:

npm -g ls --depth-0

Installing Modules Globally

The following command globally installs module foo:

npm install -g foo

Removing Globally Installed Modules

The following command removes globally installed module foo:

npm uninstall -g foo

← Home