JavaScript runtime environment

Node.js is a cross-platform, open-source JavaScript runtime environment that can run on Windows, Linux, Unix, macOS, and more. Node.js runs on the V8 JavaScript engine, and executes JavaScript code outside a web โ€ฆ Wikipedia
Factsheet
Original author Ryan Dahl
Initial release May 27, 2009; 16 years ago (2009-05-27)
Factsheet
Original author Ryan Dahl
Initial release May 27, 2009; 16 years ago (2009-05-27)
๐ŸŒ
Node.js
nodejs.org โ€บ en โ€บ download โ€บ current
Node.js โ€” Download Node.jsยฎ
Read the changelog or blog post for this version. Learn more about Node.js releases, including the release schedule and LTS status. Learn how to verify signed SHASUMS. Looking for Node.js source? Download a signed Node.js source tarball.
๐ŸŒ
Node.js
nodejs.org โ€บ en
Node.js
Get Node.jsยฎGet Node.jsยฎGet security support for EOL Node.js versions
๐ŸŒ
npm
docs.npmjs.com โ€บ downloading-and-installing-node-js-and-npm
Downloading and installing Node.js and npm | npm Docs
We do not recommend using a Node ... to download the latest version of npm, on the command line, run the following command:npm install -g npm...
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ windows โ€บ dev-environment โ€บ javascript โ€บ nodejs-on-windows
Set up Node.js on native Windows | Microsoft Learn
The installer will point you to the releases page for the most recent version. Download the nvm-setup.zip file for the most recent release. Once downloaded, open the zip file, then open the nvm-setup.exe file.
Find elsewhere
Top answer
1 of 16
1868

Ubuntu Linux/Mac

The module n makes version-management easy:

sudo npm install n -g

For the latest stable version:

n stable

For the latest version:

n latest

Debian 10

Upgrade older versions of node and npm on Debian 10 as follows:

sudo su -c 'curl -sL https://deb.nodesource.com/setup_18.x | bash -'
sudo apt-get install nodejs -y
sudo apt update
sudo apt upgrade
sudo npm install -g [email protected]
node --version
npm --version

Note: Replace setup_18 with the latest long-term support release.

Windows

Just reinstall node from the .msi in Windows from the node website.

2 of 16
839

All Platforms (Mac, Linux & Windows) 2024

If you just need to upgrade your old version of Node.js to the latest one and don't need multiple versions, simply over-write your existing executable with the new one.

Download the Latest Node.js from nodejs.org/en/download

This Just Works! TM on all platforms and is the easiest/fastest method.
When you run node -v in your terminal you will see the the latest version.

Mac

If you originally installed Node.js using brew then run:

brew upgrade node

Managing Multiple Versions of Node.js:

If you need to run multiple versions of Node.js on your machine e.g. if you have an older project that targets a specific version on AWS Lambda, then NVM (Node Version Manger) is your friend!

Step 1 - Get NVM

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash

If you're curious about the installation command read the source code
... its been reviewed by several node.js security experts

Step 2 - Install the Specific Version of Node.js you need

Once you've got NVM you can install a specific version of Node.js using the nvm command:

nvm install v22.16.0

Note: you may need to close & re-open your terminal window for nvm command to be available.

You should expect to see something like this in your terminal:

Now using node v22.16.0

You now have the latest Node.js on your machine.
And if you need to temporarily switch to a different/previous version, you can do it with a simple nvm command.

Note: avoid using sudo with Node/NPM as it violates the security principal of least privilege

NVM is considered "better" than N for managing multiple Node.js versions because the verbose commands mean it is much easier to keep track of what you are doing in your Terminal/SSH Log. It is used by the team at NPM the creators/custodians of the Node.js World!

๐ŸŒ
Node.js
nodejs.org โ€บ en โ€บ blog โ€บ release โ€บ v25.1.0
Node.js โ€” Node.js v25.1.0 (Current)
October 28, 2025 - [aacfc0d212] - deps: update corepack to 0.34.1 (Node.js GitHub Bot) #60314
๐ŸŒ
GitHub
github.com โ€บ nodejs โ€บ node
GitHub - nodejs/node: Node.js JavaScript runtime โœจ๐Ÿข๐Ÿš€โœจ
Current and LTS releases follow semantic versioning. A member of the Release Team signs each Current and LTS release. For more information, see the Release README. Binaries, installers, and source tarballs are available at https://nodejs.org/en/download/. ... The latest directory is an alias for the latest Current release. The latest-codename directory is an alias for the latest release from an LTS line. For example, the latest-hydrogen directory contains the latest Hydrogen (Node.js 18) release.
Starred by 115K users
Forked by 34K users
Languages ย  JavaScript 62.5% | C++ 23.1% | Python 10.1% | C 2.7% | HTML 0.6% | Shell 0.5%
๐ŸŒ
YouTube
youtube.com โ€บ watch
How to install Node.js in Windows 10/11 [2025 Update] | Download & Run Node.js in Easy Steps ๐Ÿš€ - YouTube
In this video, we'll guide you through the simple and updated process of installing Node.js on your Windows 10 or Windows 11 system in 2025! Whether you're ...
Published ย  July 15, 2025
๐ŸŒ
NodeSource
nodesource.com โ€บ blog โ€บ Update-nodejs-versions-on-windows
How to Update Node.js Versions on Windows
February 4, 2025 - Go to the official Node.js website. Choose either the LTS (Long-Term Support) version for stability or the Current version for the latest features. Click the Windows Installer (.msi) download link.
๐ŸŒ
DigitalOcean
digitalocean.com โ€บ community โ€บ tutorials โ€บ how-to-install-node-js-on-ubuntu-22-04
How to Install Node.js on Ubuntu (Step-by-Step Guide) | DigitalOcean
May 28, 2025 - Note: if you also have a version of Node.js installed through apt, you may see a system entry here. You can always activate the system-installed version of Node using nvm use system. You can install a release based on these aliases as well. For instance, to install fermium, run the following: ... OutputDownloading and installing node v14.21.3... Downloading https://nodejs.org/dist/v14.21.3/node-v14.21.3-linux-x64.tar.xz...
๐ŸŒ
Visual Studio Code
code.visualstudio.com โ€บ docs โ€บ nodejs โ€บ nodejs-tutorial
Node.js tutorial in Visual Studio Code
November 3, 2021 - Version 1.106 is now available! Read about the new features and fixes from October. ... Node.js is a platform for building fast and scalable server applications using JavaScript.
๐ŸŒ
Node.js
nodejs.org โ€บ en โ€บ blog โ€บ release โ€บ v22.21.0
Node.js โ€” Node.js v22.21.0 (LTS)
October 20, 2025 - [badbba2da9] - deps: update googletest to 50b8600 (Node.js GitHub Bot) #59955
๐ŸŒ
YouTube
youtube.com โ€บ watch
How to Install Node.js on Window 11 (2025) - YouTube
How to Install Node.js on Windows 11 | Step-by-Step Guide for BeginnersIn this beginner-friendly tutorial, youโ€™ll learn **how to install Node.js on Windows 1...
Published ย  August 10, 2025
๐ŸŒ
YouTube
youtube.com โ€บ watch
How To Install Node JS on Windows in Under 5 Minutes! - YouTube
Need Node.js for your projects? In this quick and easy tutorial, Iโ€™ll show you how to install Node.js and NPM on Windows step by step. Whether you're a begin...
Published ย  March 6, 2025
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ windows โ€บ dev-environment โ€บ javascript โ€บ nodejs-on-wsl
Set up Node.js on WSL 2 | Microsoft Learn
Download Microsoft Edge More info about Internet Explorer and Microsoft Edge ... Access to this page requires authorization. You can try signing in or changing directories. Access to this page requires authorization. You can try changing directories. ... For those who prefer using Node.js in a Linux environment, this guide will help you to install Node.js on the Windows Subsystem for Linux (WSL 2 is the recommended version).
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ installation guide โ€บ install-node-js-on-windows
How to Install Node.js on Windows: Top 4 Methods - GeeksforGeeks
August 25, 2025 - Either you can run the downloaded installer manually and follow the on-screen instructions or run the following command in CMD or PowerShell: ... Note: You can also specify the node.js version by using "nvm install 14.17.6" or you can choose any installed version as a default by using "nvm use 14.17.3"
๐ŸŒ
Node.js
nodejs.org โ€บ en โ€บ download โ€บ package-manager โ€บ all
Node.js โ€” Installing Node.js via package manager
October 15, 2025 - After this you can use nvm to switch ... is v8.0.0-pre: ... To install nvs on Windows go to the release page here and download the MSI installer file of the latest release....