Node.js 24 · Getting started
Run a one-line expression
Evaluate a snippet and print the result without creating a file.
node -p "process.versions.v8"
Official Node.js 24 documentation
Node.js 24 · Getting started
Evaluate a snippet and print the result without creating a file.
node -p "process.versions.v8"
Official Node.js 24 documentation
Was this page helpful?