How to Install the Latest Node.js on Ubuntu 25.10

Node.js is a JavaScript runtime built on Chrome's V8 engine that enables fast, scalable network and server-side applications. Installing the latest version ensures access to new features, performance improvements, and long term support.

Add the NodeSource PPA

First install curl if it’s missing:

sudo apt update
sudo apt install -y curl

Then add the NodeSource repository for the latest Node.js major version (for example 25.x or the latest available) by running:

curl -fsSL https://deb.nodesource.com/setup_25.x | sudo bash -

Install Node.js

Once the repository is added, install Node.js with:

sudo apt install -y nodejs

Verify the Installation

Check the version of Node.js:

node -v

You should see output similar to:

v25.0.0

Done

You now have the latest Node.js version installed on Ubuntu 25.10 and are ready to build and run modern JavaScript/TypeScript applications.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS