1step 1: Package Control: Install Package --> Sublimelinter-html-tidy
2step 2: sudo apt-get install tidy
3step 3: Preferences > Package Settings > SublimeLinter > Settings
4step 4: add {"paths":{"linux":["~/tidy"],"osx":[],"windows":[]}} to right tab
5step 5: restart Sublime Text