How to Install trash NPM Packages on Ubuntu / Debian

How to Install trash software package in NPM Packages

trash : Move files and folders to the trash. You can installing trash 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 trash
$ sudo npm install -g trash

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

$ sudo npm update trash

Update package globally,

$ npm install -g trash

Git clone:

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

trash@4.1.0 /usr/lib/node_modules/trash

How to remove trash package :

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

$ sudo npm uninstall trash

Basic Information of trash NPM Package:

Package Name trash
Version 4.1.0
Description Move files and folders to the trash
Released Date 2017-09-17T06:09:46.705Z
Published by sindresorhus
How to Learn https://www.npmjs.com/package/trash/tutorial