How to Install phantomjs-prebuilt NPM Packages on Ubuntu / Debian

How to Install phantomjs-prebuilt software package in NPM Packages

phantomjs-prebuilt : Headless WebKit with JS API. You can installing phantomjs-prebuilt 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 phantomjs-prebuilt
$ sudo npm install -g phantomjs-prebuilt

If want to update the phantomjs-prebuilt package execute the command as below,

$ sudo npm update phantomjs-prebuilt

Update package globally,

$ npm install -g phantomjs-prebuilt

Git clone:

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

phantomjs-prebuilt@2.1.16 /usr/lib/node_modules/phantomjs-prebuilt

How to remove phantomjs-prebuilt package :

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

$ sudo npm uninstall phantomjs-prebuilt

Basic Information of phantomjs-prebuilt NPM Package:

Package Name phantomjs-prebuilt
Version 2.1.16
Description Headless WebKit with JS API
Released Date 2017-11-02T20:24:23.841Z
Published by medium
How to Learn https://www.npmjs.com/package/phantomjs-prebuilt/tutorial