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

RisingStack's services:

Node.js Experts

Learn more at risingstack.com

Sign up to our newsletter!

In this article:

Node 20 is the active LTS version which will be supported until 22 Oct 2024, while Node 21 became the Current version in 2023 October: https://blog.risingstack.com/nodejs-21/

NAMERELEASEDACTIVE SUPPORTSECURITY SUPPORTVERSION
Node 21 CURRENT2023. Oct 17.2024. Apr 1.2024. Jun 1.21.1.0
Node 20 LTS2023. Apr 18.2024. Oct 22.2026. Apr 3020.9.0

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 v21 is the next Current version!

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