.A new `nodejs:24` module stream is available as a Technology Preview
A new module stream, `nodejs:24`, is available as a Technology Preview. A future update will provide a Long Term Support (LTS) version of `Node.js 24`, which will be fully supported.
`Node.js 24` included in RHEL 8.10 provides numerous new features, bug fixes, security fixes, and performance improvements over `Node.js 22`.
Notable changes include:
* V8 JavaScript engine updated to version 13.6. This unlocks new features such as `RegExp.escape` for safer regular expressions, `Float16Array` for 16-bit float handling, `Atomics.pause` for improved concurrency, support for WebAssembly Memory64, explicit resource management with `await using`, and the `Error.isError` utility for error checking.
* The permission model is stable, with the CLI flag changed to `--permission`. This feature allows administrators to restrict application access to the file system, network, and other resources for security.
* The `URLPattern` API is globally available, simplifying URL matching and routing in web applications.
* The built-in test runner automatically waits for subtests for easier test writing by reducing potential errors.
* The HTTP client is updated to Undici 7.0.0, delivering improved standards support and performance, especially for HTTP-heavy services and `fetch()` usage.
* `npm` is updated to version 11, which provides faster installs, improved security checks, enhanced compatibility with modern package ecosystems, and several command and behavior changes, such as the removal of `npm hook` and changes to the `--ignore-scripts` flag.
* Many legacy APIs are deprecated, including `url.parse()`, `SlowBuffer`, `tls.createSecurePair`, and old-style `fs` constants.
These changes make Node.js 24 faster, more secure, and more aligned with modern JavaScript standards.
To install the `nodejs:24` module stream, enter:
----
# dnf module install nodejs:24
----
If you want to upgrade from the `nodejs:22` stream, see link:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/managing_software_with_the_dnf_tool/assembly_managing-versions-of-application-stream-content_managing-software-with-the-dnf-tool#proc_switching-to-a-later-stream_assembly_managing-versions-of-application-stream-content[Switching to a later stream].
For information about the length of support for the `nodejs` Application Streams, see link:
https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle[Red Hat Enterprise Linux Application Streams Life Cycle].