How to Install wkhtmltopdf NPM Packages on Ubuntu / Debian

How to Install wkhtmltopdf software package in NPM Packages

wkhtmltopdf : A wrapper for the wkhtmltopdf HTML to PDF converter using WebKit. You can installing wkhtmltopdf 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 wkhtmltopdf
$ sudo npm install -g wkhtmltopdf

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

$ sudo npm update wkhtmltopdf

Update package globally,

$ npm install -g wkhtmltopdf

Git clone:

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

wkhtmltopdf@0.3.4 /usr/lib/node_modules/wkhtmltopdf

How to remove wkhtmltopdf package :

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

$ sudo npm uninstall wkhtmltopdf

Basic Information of wkhtmltopdf NPM Package:

Package Name wkhtmltopdf
Version 0.3.4
Description A wrapper for the wkhtmltopdf HTML to PDF converter using WebKit
Released Date 2017-02-22T19:57:56.399Z
Published by zxlin
How to Learn https://www.npmjs.com/package/wkhtmltopdf/tutorial