Setup guide for tidy-html5 on Mac

What is “tidy-html5” Package?

Granddaddy of HTML tools, with support for modern standards
For more details: http://www.html-tidy.org/

Installation

  • Open Terminal by pressing command+space then type terminal and hit Enter key.
  • Install homebrew first.
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  • Install tidy-html5.
    brew install tidy-html5

Now, use tidy-html5!