How to Install gm NPM Packages on Ubuntu / Debian

How to Install gm software package in NPM Packages

gm : GraphicsMagick and ImageMagick for node.js. You can installing gm 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 gm
$ sudo npm install -g gm

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

$ sudo npm update gm

Update package globally,

$ npm install -g gm

Git clone:

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

gm@1.23.0 /usr/lib/node_modules/gm

How to remove gm package :

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

$ sudo npm uninstall gm

Basic Information of gm NPM Package:

Package Name gm
Version 1.23.0
Description GraphicsMagick and ImageMagick for node.js
Released Date 2016-08-03T22:20:17.989Z
Published by aaron
How to Learn https://www.npmjs.com/package/gm/tutorial