Validate syntax without executing the program.
Section: Basics and Invocation
Syntax check a file
bash
bash
node --check app.jsExplanation
Helpful in CI or quick validation of generated JavaScript files.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Basics and Invocation