How to Install imagemin NPM Packages on Ubuntu / Debian

How to Install imagemin software package in NPM Packages

imagemin : Minify images. You can installing imagemin 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 imagemin
$ sudo npm install -g imagemin

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

$ sudo npm update imagemin

Update package globally,

$ npm install -g imagemin

Git clone:

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

imagemin@5.3.1 /usr/lib/node_modules/imagemin

How to remove imagemin package :

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

$ sudo npm uninstall imagemin

Basic Information of imagemin NPM Package:

Package Name imagemin
Version 5.3.1
Description Minify images
Released Date 2017-05-12T18:07:15.164Z
Published by sindresorhus
How to Learn https://www.npmjs.com/package/imagemin/tutorial