As of today, version 18 of Node.js can be selected in the Node.js Version section on the General page in the Project Settings. Newly created projects will default to this version.
The new version introduces several new features including:
- ECMAScript RegExp Match Indices
import test from 'node:test'
Node.js 18 includes substantial improvements to align the Node.js runtime with the Edge Runtime, including alignment with Web Standard APIs.
The exact version used today is 18.12.1 and will automatically update minor and patch releases. Therefore, only the major version (
18.x) is guaranteed.
Read the documentation for more.