Moin Moin,
recently, I had to install wkhtmltopdf via homebrew to be able to use pdfkit. Installing wkhtmltopdf with homebrew is as simple as typing
Unfortunately, the recent version did not work. So I had to install an older version. The actual Version can be seen with:
What you will do is checkout the git repository of wkhtmltopdf in a special version - the list is already showing, how you do that. Be sure to change the directory to /usr/local. The repositories live here. Then, there are three steps: Checkout the git repository in the correct version, unlink the installed version and install the old one:
If you want to switch rto the new version, you can do this with:
And that’s it!
Cheers