How to Install fs-extra NPM Packages on Ubuntu / Debian

How to Install fs-extra software package in NPM Packages

fs-extra : fs-extra contains methods that arent included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.. You can installing fs-extra 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 fs-extra
$ sudo npm install -g fs-extra

If want to update the fs-extra package execute the command as below,

$ sudo npm update fs-extra

Update package globally,

$ npm install -g fs-extra

Git clone:

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

fs-extra@4.0.2 /usr/lib/node_modules/fs-extra

How to remove fs-extra package :

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

$ sudo npm uninstall fs-extra

Basic Information of fs-extra NPM Package:

Package Name fs-extra
Version 4.0.2
Description fs-extra contains methods that arent included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
Released Date 2017-09-12T23:02:30.622Z
Published by ryanzim
How to Learn https://www.npmjs.com/package/fs-extra/tutorial