nodenode app.js
Keywords: execute, run, javascript, file, runtime
node -vnode -v
Keywords: version, check, current, installed
node --versionnode --version
Keywords: version, check, current, installed
node -enode -e "console.log('Hello World')"
Keywords: execute, inline, code, script, quick
node -pnode -p "Math.PI * 2"
Keywords: print, execute, expression, result, math
node --inspectnode --inspect app.js
Keywords: debug, inspect, debugger, port, development
node --inspect-brknode --inspect-brk app.js
Keywords: debug, inspect, break, first, line, startup
node --watchnode --watch app.js
Keywords: watch, restart, automatic, changes, development
node --env-filenode --env-file=.env app.js
Keywords: environment, variables, env, file, config
node --max-old-space-sizenode --max-old-space-size=4096 app.js
Keywords: memory, heap, limit, v8, performance
node --trace-warningsnode --trace-warnings app.js
Keywords: trace, warnings, stack, debug, deprecation
node --experimental-modulesnode --experimental-modules app.mjs
Keywords: experimental, modules, es6, import, export
node --loadernode --loader ./my-loader.js app.js
Keywords: loader, custom, module, transform, import
node --cpu-profnode --cpu-prof app.js
Keywords: cpu, profile, performance, analysis, profiling
node --heap-profnode --heap-prof app.js
Keywords: heap, profile, memory, analysis, profiling
node --checknode --check app.js
Keywords: check, syntax, validate, parse, lint
node --printnode --print script.js
Keywords: print, execute, result, output, file
node --requirenode --require ./setup.js app.js
Keywords: require, preload, module, setup, polyfill
node --titlenode --title="My App" app.js
Keywords: title, process, name, identification, ps
node --zero-fill-buffersnode --zero-fill-buffers app.js
Keywords: zero, fill, buffer, security, memory