Skip to content

Installing wkhtmltopdf

janek42 edited this page Jul 22, 2022 · 23 revisions

Visit the wkhtmltopdf home page and download the binary from the downloads page.

Linux

Install the package using your distribution's package manager. In case your distribution is not listed there, please compile the source code. It is not recommended to install the binary compiled for another distribution/version, as it may have been compiled with different settings/libraries. For an example of this kind of issue see: https://github.com/pdfkit/pdfkit/issues/232.

Windows

Run the installer and tell PDFKit where it is.

Mac

Run the package.

brew install --cask wkhtmltopdf

Compilation

You can also compile from source.