Download & Update Node.js to the Latest Version! Node v22.1.0 Current / LTS v20.12.2 Direct Links

RisingStack's services:

Search

Node.js Experts

Learn more at risingstack.com

Sign up to our newsletter!

In this article:

Here’s a rundown of the key features and improvements in the latest release.

NAMERELEASEDACTIVE SUPPORTSECURITY SUPPORTLATEST
Node 22 CURRENT2024. Apr 24.2025. Oct 21.2027. Apr 30.22.1.0
Node 20 LTS2023. Apr 18.2024. Oct 22.2026. Apr 3020.12.2

In this article below, you’ll find changelogs and download / update information regarding Node.js!

Node.js LTS & Current Download for macOS:

Node.js LTS & Current Download for Windows:

For other downloads like Linux libraries, source codes, Docker images, etc. please visit https://nodejs.org/en/download/

Node.js Release Schedule:

Releases

Node.js v22

Node.js v22 is the new Current version, with several exciting updates!

  • Integrated WebSocket Client: The WebSocket client is now enabled by default, facilitating real-time data exchange directly from Node.js applications without the need for experimental flags.

  • V8 JavaScript Engine Update: The V8 engine has been upgraded to version 12.4.254.14, which may improve performance and support for modern JavaScript features.

  • Support for ESM Graphs: Node.js 22 introduces support for synchronously requiring ESM (ECMAScript Module) graphs, allowing for more flexible and efficient module usage.

  • FileSystem Enhancements: The fs module now includes glob and globSync functions, expanding capabilities for pattern matching in file operations.

  • Command Line Improvements: A new CLI option, node --run, lets you execute scripts defined in package.json directly, streamlining workflow processes (experimental feature).

  • Stream Performance Tuning: The default highWaterMark for stream buffering has been increased, potentially improving I/O performance under heavy loads.

  • Maglev Optimization: On supported architectures, the Maglev backend for V8 is enabled, aiming to boost JavaScript execution speeds.

Additional Changes:

  • The watch module has been marked stable, indicating readiness for production use.
  • The AbortSignal creation performance has been enhanced, which could improve responsiveness in applications using abortable operations.
  • Experimental features like import assertions have been dropped, reflecting a shift towards stabilizing functionality.

Remember, Node.js 22 will transition to long-term support (LTS) in October.

Node.js v21

The latest major version of Node.js has just released with a few new interesting experimental features and a lot of fixes and optimization. You can find our highlights in this article: https://blog.risingstack.com/nodejs-21/

  • Built-in WebSocket client:
    A browser-compatible WebSocket implementation has been added to Node.js with this new release as an experimental feature. You can give it a go using the --experimental-websocket flag. The current implementation allows for opening and closing of websocket connections and sending data.

  • flush option for the writeFile type filesystem functions:
    Up until now, it was possible for data to not be flushed immediately to permanent storage when a write operation completed successfully, allowing read operations to get stale data. In response, a flush option has been added to the fs module file writing functions that, when enabled, forces data to be flushed at the end of a successful write operation using sync.

  • Addition of a global navigator Object:
    This new release also introduces a global navigator object to take steps towards enhancing web interoperability. We can now access hardware concurrency information through navigator.hardwareConcurrency, the only currently implemented method on the object.

  • Array grouping:
    There is a new static method added to Object and MapgroupBy(), that groups the items of a given iterable according to a provided callback function.

  • Additional changes:
    • Both the fetch and the webstreams modules are now marked as stable after receiving a few changes with this version.
    • A host of performance improvements as usual with any new release.
    • WebAssembly gets extended const expressions
    • Another new experimental flag, --experimental-default-type, has been added that allows setting the default module type to ESM
    • The globalPreload hook has been removed, it’s functionality replaced by register and initialize
    • Glob patterns are now supported in the test runner

Learn More Node.js from RisingStack

At RisingStack we’ve been writing JavaScript / Node tutorials for the community in the past 5 years. If you’re beginner to Node.js, we recommend checking out our Node Hero tutorial series! The goal of this series is to help you get started with Node.js and make sure you understand how to write an application using it.

See all chapters of the Node Hero tutorial series:
  1. Getting Started with Node.js
  2. Using NPM
  3. Understanding async programming
  4. Your first Node.js HTTP server
  5. Node.js database tutorial
  6. Node.js request module tutorial
  7. Node.js project structure tutorial
  8. Node.js authentication using Passport.js
  9. Node.js unit testing tutorial
  10. Debugging Node.js applications
  11. Node.js Security Tutorial
  12. How to Deploy Node.js Applications
  13. Monitoring Node.js Applications

As a sequel to Node Hero, we have completed another series called Node.js at Scale – which focuses on advanced Node / JavaScript topics. Take a look!


Share this post

Twitter
Facebook
LinkedIn
Reddit

Node.js
Experts

Learn more at risingstack.com

Node.js Experts