How to Install grunt-contrib-compress NPM Packages on Ubuntu / Debian

How to Install grunt-contrib-compress software package in NPM Packages

grunt-contrib-compress : Compress files and folders. You can installing grunt-contrib-compress 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 grunt-contrib-compress
$ sudo npm install -g grunt-contrib-compress

If want to update the grunt-contrib-compress package execute the command as below,

$ sudo npm update grunt-contrib-compress

Update package globally,

$ npm install -g grunt-contrib-compress

Git clone:

$ sudo  git clone https://github.com/rektide/grunt-contrib-compress.git
$ sudo  npm install -g ./grunt-contrib-compress

grunt-contrib-compress@1.4.3 /usr/lib/node_modules/grunt-contrib-compress

How to remove grunt-contrib-compress package :

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

$ sudo npm uninstall grunt-contrib-compress

Basic Information of grunt-contrib-compress NPM Package:

Package Name grunt-contrib-compress
Version 1.4.3
Description Compress files and folders
Released Date 2017-05-20T11:12:04.254Z
Published by xhmikosr
How to Learn https://www.npmjs.com/package/grunt-contrib-compress/tutorial