Tidy-html5 on Mac OS: how to install

Vladimir picture Vladimir · Nov 14, 2012 · Viewed 10.4k times · Source

Please help

I need to install HTML tidy on Mac OS http://w3c.github.com/tidy-html5/

I call the commands in the Terminal and get nothing:

$ make -C build/gmake/
make: *** build/gmake/: No such file or directory.  Stop.

$ sh build/gnuauto/setup.sh && ./configure && make
sh: build/gnuauto/setup.sh: No such file or directory

What's the problem? What else should I install?

Answer

Sagar Ranglani picture Sagar Ranglani · Jun 12, 2015

The following worked for me:

brew update
brew install tidy-html5

Shell output:

➜  ~  brew install tidy-html5
==> Downloading https://homebrew.bintray.com/bottles/tidy-html5-4.9.26.yosemite.
######################################################################## 100.0%
==> Pouring tidy-html5-4.9.26.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/tidy-html5/4.9.26: 8 files, 1.2M