How to Install rimraf NPM Packages on Ubuntu / Debian

How to Install rimraf software package in NPM Packages

rimraf : A deep deletion module for node (like `rm -rf`). You can installing rimraf 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 rimraf
$ sudo npm install -g rimraf

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

$ sudo npm update rimraf

Update package globally,

$ npm install -g rimraf

Git clone:

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

rimraf@2.6.2 /usr/lib/node_modules/rimraf

How to remove rimraf package :

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

$ sudo npm uninstall rimraf

Basic Information of rimraf NPM Package:

Package Name rimraf
Version 2.6.2
Description A deep deletion module for node (like `rm -rf`)
Released Date 2017-09-11T16:46:07.098Z
Published by isaacs
How to Learn https://www.npmjs.com/package/rimraf/tutorial