node --versionCheck which runtime is active in your shell, CI job, or container.
Node.js CLI cheat sheets for runtime flags, debugging, watch mode, test runner, environment variables, and production execution patterns.
Inspect runtime, run scripts, eval code, and use stdin.
node --versionCheck which runtime is active in your shell, CI job, or container.
node --helpLists available flags and basic usage for the installed runtime.
node --v8-optionsUseful for memory and GC tuning research.
node app.jsStandard way to launch a Node program.
node -e "console.log(process.version)"Good for quick checks, shell automation, and CI probes.
node -p "process.platform + ' ' + process.arch"`-p` is useful in scripts where you want the value printed automatically.
echo "console.log('hello from stdin')" | node -Useful in pipelines or generated scripts.
node --check app.jsHelpful in CI or quick validation of generated JavaScript files.