Nu HTML Checker


You can install the Nu HTML Checker on your machine. It makes it possible to validate HTML files locally. This page gives the actions I had to take to install the Nu HTML Checker and shows how to use it (command line use only).


I ran (as root) the following commands to install and build the Nu HTML checker:

apt-get install default-jre default-jdk
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
cd /usr/local
git clone nu_html_checker
cd nu_html_checker
python ./build/ update dldeps build test jar


Check all the HTML files in a folder with a command like:

java -jar /usr/local/nu_html_checker/build/dist/vnu.jar path/to/files/*.html