How to Install di NPM Packages on Ubuntu / Debian

How to Install di software package in NPM Packages

di : Dependency Injection for Node.js. Heavily inspired by AngularJS.. You can installing di 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 di
$ sudo npm install -g di

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

$ sudo npm update di

Update package globally,

$ npm install -g di

Git clone:

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

di@0.0.1 /usr/lib/node_modules/di

How to remove di package :

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

$ sudo npm uninstall di

Basic Information of di NPM Package:

Package Name di
Version 0.0.1
Description Dependency Injection for Node.js. Heavily inspired by AngularJS.
Released Date 2013-04-03T20:38:33.138Z
Published by vojtajina
How to Learn https://www.npmjs.com/package/di/tutorial