https://github.com/wavedrom/wavedrom.github.io/releases
https://github.com/wavedrom/cli/releases
or
$ npm install -g wavedrom-cli
$ phantomjs /usr/local/bin/wavedrom
-i <input wavedrom source filename>
-p file.png <output PNG image file name>
-p file.pdf <output PDF file name>
-s <output SVG image file name>