Skip to content

Instantly share code, notes, and snippets.

@devlights
Created January 13, 2018 18:53
Show Gist options
  • Select an option

  • Save devlights/39d8f56744b9d45597e3636296264c55 to your computer and use it in GitHub Desktop.

Select an option

Save devlights/39d8f56744b9d45597e3636296264c55 to your computer and use it in GitHub Desktop.
Mac で wkhtmltopdf のインストール (homebrew 経由で)

mac で wkhtmltopdf のインストール

$ brew search wkhtmltopdf
==> Searching local taps...
==> Searching taps on GitHub...
caskroom/cask/wkhtmltopdf
$ brew tap caskroom/cask
Updating Homebrew...
$ brew cask install wkhtmltopdf
==> Caveats
Cask wkhtmltopdf installs files under /usr/local. The presence of such
files can cause warnings when running "brew doctor", which is considered
to be a bug in Homebrew-Cask.

==> Satisfying dependencies
==> Downloading http://downloads.wkhtmltopdf.org/0.12/0.12.4/wkhtmltox-0.12.4_osx-cocoa-x86-64.pkg
######################################################################## 100.0%
==> Verifying checksum for Cask wkhtmltopdf
==> Installing Cask wkhtmltopdf
==> Running installer for wkhtmltopdf; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
==> installer: Package name is wkhtmltox-0.12.4_osx-cocoa-x86-64
==> installer: Installing at base path /
==> installer: The install was successful.
🍺  wkhtmltopdf was successfully installed!
$ which wkhtmltopdf
/usr/local/bin/wkhtmltopdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment