How to Install du NPM Packages on Ubuntu / Debian

How to Install du software package in NPM Packages

du : A simple JavaScript implementation of `du -sb`. You can installing du 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 du
$ sudo npm install -g du

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

$ sudo npm update du

Update package globally,

$ npm install -g du

Git clone:

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

du@0.1.0 /usr/lib/node_modules/du

How to remove du package :

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

$ sudo npm uninstall du

Basic Information of du NPM Package:

Package Name du
Version 0.1.0
Description A simple JavaScript implementation of `du -sb`
Released Date 2014-03-05T18:57:29.472Z
Published by rvagg
How to Learn https://www.npmjs.com/package/du/tutorial