Homebrew での graphviz のインストール。
する
$ brew install graphviz Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> New Formulae entityx gerbil-scheme tmx ==> Updated Formulae bettercap cython hub libxc scrcpy swiftformat cp2k eslint libuv rdfind sile webp ==> Installing dependencies for graphviz: libpng, freetype, fontconfig, jpeg, libtiff, webp and gd ==> Installing graphviz dependency: libpng ==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.36.mojave.bottle.tar.gz ######################################################################## 100.0% ==> Pouring libpng-1.6.36.mojave.bottle.tar.gz 🍺 /usr/local/Cellar/libpng/1.6.36: 27 files, 1.2MB ==> Installing graphviz dependency: freetype ==> Downloading https://homebrew.bintray.com/bottles/freetype-2.9.1.mojave.bottle.tar.gz ######################################################################## 100.0% ==> Pouring freetype-2.9.1.mojave.bottle.tar.gz 🍺 /usr/local/Cellar/freetype/2.9.1: 60 files, 2.6MB ==> Installing graphviz dependency: fontconfig ==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.13.1.mojave.bottle.tar.gz ######################################################################## 100.0% ==> Pouring fontconfig-2.13.1.mojave.bottle.tar.gz ==> Regenerating font cache, this may take a while ==> /usr/local/Cellar/fontconfig/2.13.1/bin/fc-cache -frv 🍺 /usr/local/Cellar/fontconfig/2.13.1: 531 files, 3.3MB ==> Installing graphviz dependency: jpeg ==> Downloading https://homebrew.bintray.com/bottles/jpeg-9c.mojave.bottle.tar.gz ######################################################################## 100.0% ==> Pouring jpeg-9c.mojave.bottle.tar.gz 🍺 /usr/local/Cellar/jpeg/9c: 21 files, 733.4KB ==> Installing graphviz dependency: libtiff ==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.10.mojave.bottle.tar.gz ######################################################################## 100.0% ==> Pouring libtiff-4.0.10.mojave.bottle.tar.gz 🍺 /usr/local/Cellar/libtiff/4.0.10: 246 files, 3.5MB ==> Installing graphviz dependency: webp ==> Downloading https://homebrew.bintray.com/bottles/webp-1.0.2.mojave.bottle.tar.gz ######################################################################## 100.0% ==> Pouring webp-1.0.2.mojave.bottle.tar.gz 🍺 /usr/local/Cellar/webp/1.0.2: 39 files, 2.1MB ==> Installing graphviz dependency: gd ==> Downloading https://homebrew.bintray.com/bottles/gd-2.2.5.mojave.bottle.tar.gz ######################################################################## 100.0% ==> Pouring gd-2.2.5.mojave.bottle.tar.gz 🍺 /usr/local/Cellar/gd/2.2.5: 35 files, 1.1MB ==> Installing graphviz ==> Downloading https://homebrew.bintray.com/bottles/graphviz-2.40.1.mojave.bottle.1.tar.gz ######################################################################## 100.0% ==> Pouring graphviz-2.40.1.mojave.bottle.1.tar.gz 🍺 /usr/local/Cellar/graphviz/2.40.1: 500 files, 11.2MB $
した
$ which dot /usr/local/bin/dot $ dot -V dot - graphviz version 2.40.1 (20161225.0304) $