Usage: node [options] [ -e script | script.js ] [arguments]
Basic Options:
-v, --version print Node.js version
-e, --eval=... evaluate script
-p, --print [...] evaluate script and print result
-c, --check syntax check script without executing
-i, --interactive always enter the REPL even if stdin does not appear to be a terminal
-r, --require=... CommonJS module to preload (option can be repeated)
--inspect[=port] activate inspector on port (overrides options of Chrome Inspector)
--inspect-brk[=port] activate inspector on port and break at start of user script (overrides options of Chrome Inspector)
Runtime options:
--native Ensure to run in Native mode.
--jvm Ensure to run in JVM mode.
--vm.[option] Pass options to the host VM. To see available options, use '--help:vm'.
--log.file=<String> Redirect guest languages logging into a given file.
--log.[logger].level=<String> Set language log level to OFF, SEVERE, WARNING, INFO, CONFIG, FINE,
FINER, FINEST or ALL.
--help Print this help message.
--help:vm Print options for the host VM.
--help:engine Print engine options.
--help:compiler Print engine compiler options.
--help:all Print all options.
--version:graalvm Print GraalVM version information and exit.
--show-version:graalvm Print GraalVM version information and continue execution.
Languages:
[id] [name] [website]
js JavaScript https://www.graalvm.org/javascript/
wasm WebAssembly https://www.graalvm.org/webassembly/
Tools:
[id] [name] [website]
agentscript Agent Script
coverage Code Coverage https://www.graalvm.org/tools/code-coverage/
cpusampler CPU Sampler https://www.graalvm.org/tools/profiling/
cputracer CPU Tracer https://www.graalvm.org/tools/profiling/
dap Debug Protocol Server https://www.graalvm.org/tools/dap/
heap Heap Dump
heapmonitor Heap Allocation Monitor
insight Insight https://www.graalvm.org/tools/graalvm-insight/
inspect Chrome Inspector https://www.graalvm.org/tools/chrome-debugger/
lsp Language Server https://www.graalvm.org/tools/lsp/
memtracer Memory Tracer https://www.graalvm.org/tools/profiling/
sandbox Sandbox https://www.graalvm.org/dev/reference-manual/embed-languages/sandbox-resource-limits/
Use --help:[id] for component options.
See http://www.graalvm.org for more information.
Options (14)
| Option | Description | Source |
|---|
-v, --version | print Node.js version | help |
-e, --eval ... | evaluate script | help |
-p, --print ... | evaluate script and print result | help |
-c, --check | syntax check script without executing | help |
-i, --interactive | always enter the REPL even if stdin does not appear to be a terminal | help |
-r, --require ... | CommonJS module to preload (option can be repeated) | help |
--inspect port | activate inspector on port (overrides options of Chrome Inspector) | help |
--inspect-brk port | activate inspector on port and break at start of user script (overrides options of Chrome Inspector) | help |
--native | Ensure to run in Native mode. | help |
--jvm | Ensure to run in JVM mode. | help |
--vm option | Pass options to the host VM. | help |
--log.file String | Redirect guest languages logging into a given file. | help |
--log logger].level=<String | Set language log level to OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST or ALL. | help |
--help | Print this help message. | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.