Nu Html Checker Installer for macOS
A simple one-command script to install and run Nu Html Checker (vnu) on macOS. Don't have Java? No problem — it'll be installed automatically (Temurin).
Run this in your terminal
curl -fsSL https://github.com/hiroya-uga/vnu-installer/releases/latest/download/install.sh | zshWhat the script does
Commands
Server
vnuAlias for vnu start
vnu startStarts the checker on http://localhost:8888 and opens it in your browser
vnu start --port <PORT>Starts the checker on a specific port and opens it in your browser (e.g. vnu start --port 9090)
vnu serveStarts the checker without opening the browser
vnu serve --port <PORT>Starts the checker on a specific port (e.g. vnu serve --port 9090)
vnu stopStops the running vnu process
Validation
vnu check <value>Auto-detection: pass a URL, <!doctype...> string, <p>...</p>, or a file path directly without flags
vnu check --file <file>Validates an HTML file
vnu check --url <url>Validates a URL
vnu check --html '<html>'Validates a full HTML string
vnu check --fragment '<p>...</p>'Validates an HTML fragment (auto-wrapped in a full document)
Utilities
vnu updateUpdates vnu.jar to the latest version
vnu uninstallRemoves vnu and related files
vnu --versionShows the release date of the installed vnu.jar
vnu --helpShows usage information
* Create a bookmarklet for Nu Html Checker
vnu check --fragment '<p>Hello, world!</p>'