Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Visit the wkhtmltopdf home page.
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
Download the installer from the wkhtmltopdf downloads list and add folder with wkhtmltopdf binary to PATH.
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.
You can also compile from source (see the FAQ).