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

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

grunt-contrib-htmlmin : Minify HTML. You can installing grunt-contrib-htmlmin 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-htmlmin
$ sudo npm install -g grunt-contrib-htmlmin

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

$ sudo npm update grunt-contrib-htmlmin

Update package globally,

$ npm install -g grunt-contrib-htmlmin

Git clone:

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

grunt-contrib-htmlmin@2.4.0 /usr/lib/node_modules/grunt-contrib-htmlmin

How to remove grunt-contrib-htmlmin package :

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

$ sudo npm uninstall grunt-contrib-htmlmin

Basic Information of grunt-contrib-htmlmin NPM Package:

Package Name grunt-contrib-htmlmin
Version 2.4.0
Description Minify HTML
Released Date 2017-05-16T18:25:54.811Z
Published by xhmikosr
How to Learn https://www.npmjs.com/package/grunt-contrib-htmlmin/tutorial