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

More getting started commands

All getting started commands · Node.js 24 cheatsheet

Was this page helpful?