Skip to content

Installing wkhtmltopdf

Dominikolai edited this page Nov 1, 2020 · 7 revisions

Visit the wkhtmltopdf home page.

Linux

Download the static binary for your architecture at the wkhtmltopdf downloads list, extract the file to a directory that is in your PATH, such as /opt or /usr/local/bin and run from there.

Debian / Ubuntu

apt-get install wkhtmltopdf

Fedora / RHEL / CentOS

yum install wkhtmltopdf

Windows

Download the installer from the wkhtmltopdf downloads list and add folder with wkhtmltopdf binary to PATH.

Mac

Download the disk image from wkhtmltopdf downloads list and copy the file to a directory where PDFKit can find it. Homebrew is also available, run brew install Caskroom/cask/wkhtmltopdf.

Compilation

You can also compile from source (see the FAQ).

Clone this wiki locally