How to Install husky NPM Packages on Ubuntu / Debian

How to Install husky software package in NPM Packages

husky : Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...). You can installing husky 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 husky
$ sudo npm install -g husky

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

$ sudo npm update husky

Update package globally,

$ npm install -g husky

Git clone:

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

husky@0.14.3 /usr/lib/node_modules/husky

How to remove husky package :

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

$ sudo npm uninstall husky

Basic Information of husky NPM Package:

Package Name husky
Version 0.14.3
Description Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)
Released Date 2017-07-05T10:49:41.572Z
Published by typicode
How to Learn https://www.npmjs.com/package/husky/tutorial