I'm trying to install wkhtmltopdf on my Mac using the following command:
brew install wkhtmltopdf
However, when I try to run wkhtmltopdf
command through the terminal, I encounter an error like this:
zsh: command not found: wkhtmltopdf
Then, I also tried to download wkhtmltopdf from here, choosing the one for macOS.
It downloaded a file named wkhtmltox-0.12.6-2.macos-cocoa.pkg
, but I don't know how to install that file because its extension is .pkg
.
Can someone help me deal with this issue?