How to Install phantom NPM Packages on Ubuntu / Debian

How to Install phantom software package in NPM Packages

phantom : PhantomJS integration module for NodeJS. You can installing phantom 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 phantom
$ sudo npm install -g phantom

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

$ sudo npm update phantom

Update package globally,

$ npm install -g phantom

Git clone:

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

phantom@4.0.9 /usr/lib/node_modules/phantom

How to remove phantom package :

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

$ sudo npm uninstall phantom

Basic Information of phantom NPM Package:

Package Name phantom
Version 4.0.9
Description PhantomJS integration module for NodeJS
Released Date 2017-11-22T15:32:06.396Z
Published by amir20
How to Learn https://www.npmjs.com/package/phantom/tutorial