NodeSource N|Solid & Node.js Binary Distributions
This repository contains the instructions to install the NodeSource N|solid and Node.js Binary Distributions via .rpm and .deb as well as their setup and support scripts.
If you're looking for more information on NodeSource's low-impact Node.js performance monitoring platform, Learn more here.
New Update ⚠️
We'd like to inform you of important changes to our distribution repository nodesource/distributions.
What's New:
- Package Changes: DEB and RPM packages are now available under the
nodistro
codename. We no longer package the installer coupled to specific versions. This means you can install Node.js on almost any distro that meets the minimum requirements. - Installation Scripts: Back by popular demand, the installation scripts have returned and are better than ever. See the installation instructions below for details on how to use them.
- RPM Package Signing Key: The key used to sign RPM packages has changed. We now sign packages using SHA256, providing better support to the community.
- Questions and concerns: To resolve questions and discuss concerns about this update we've opened this discussion space New distribution's packages
Looking for the previous Documentation README.md
Table of Contents
- Debian and Ubuntu based distributions (deb)
- Enterprise Linux based distributions (rpm)
- Nodejs Release Calendar
- FAQ
- Authors and Contributors
- License
Debian and Ubuntu based distributions
DEB Available architectures
NodeSource will continue to maintain the following architectures and may add additional ones in the future.
- amd64 (64-bit)
- armhf (ARM 32-bit hard-float, ARMv7 and up: arm-linux-gnueabihf)
- arm64 (ARM 64-bit, ARMv8 and up: aarch64-linux-gnu)
DEB Supported Versions
Ubuntu versions
Distro Name | Node 18x | Node 20x | Node 21x | Node 22x |
---|---|---|---|---|
Ubuntu Bionic ^18.04 | ❌ | ❌ | ❌ | ❌ |
Ubuntu Focal ^20.04 | ✅ | ✅ | ✅ | ✅ |
Ubuntu Jammy ^22.04 | ✅ | ✅ | ✅ | ✅ |
Ubuntu Noble ^24.04 | ✅ | ✅ | ✅ | ✅ |
Debian versions
Distro Name | Node 18x | Node 20x | Node 21x | Node 22x |
---|---|---|---|---|
Debian 8 Jessie | ❌ | ❌ | ❌ | ❌ |
Debian 9 Stretch | ❌ | ❌ | ❌ | ❌ |
Debian 10 Buster | ✅ | ✅ | ✅ | ✅ |
Debian 11 Bullseye | ✅ | ✅ | ✅ | ✅ |
Debian 12 Bookworm | ✅ | ✅ | ✅ | ✅ |
[!NOTE] If you are looking to run Node.js in a non-supported Linux version contact NodeSource to get enterprise support for your specific needs.
Installation Instructions (DEB)
Node.js 22.x:
Using Ubuntu (Node.js 22)
Before you begin, ensure that curl
is installed on your system. If curl
is not installed, you can install it using the following command:
sudo apt-get install -y curl
-
Download the setup script:
curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh
-
Run the setup script with sudo:
sudo -E bash nodesource_setup.sh
-
Install Node.js:
sudo apt-get install -y nodejs
-
Verify the installation:
node -v
Using Debian, as root (Node.js 22)
Before you begin, ensure that curl
is installed on your system. If curl
is not installed, you can install it using the following command:
apt-get install -y curl
-
Download the setup script:
curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh
-
Run the setup script with sudo:
bash nodesource_setup.sh
-
Install Node.js:
apt-get install -y nodejs
-
Verify the installation:
node -v
Node.js v20.x:
Using Ubuntu (Node.js 20)
Before you begin, ensure that curl
is installed on your system. If curl
is not installed, you can install it using the following command:
sudo apt-get install -y curl
-
Download the setup script:
curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh
-
Run the setup script with sudo:
sudo -E bash nodesource_setup.sh
-
Install N|Solid or Node.js:
N|Solid
Install N|Solid:
sudo apt-get install -y nsolid
Verify the installation:
nsolid -v
Node.js
Install Node.js:
sudo apt-get install -y nodejs
Verify the installation:
node -v
Using Debian, as root (Node.js 20)
Before you begin, ensure that curl
is installed on your system. If curl
is not installed, you can install it using the following command:
apt-get install -y curl
-
Download the setup script:
curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh
-
Run the setup script with sudo:
bash nodesource_setup.sh
-
Install N|Solid or Node.js:
N|Solid
Install N|Solid:
apt-get install -y nsolid
Verify the installation:
nsolid -v
Node.js
Install Node.js:
apt-get install -y nodejs
Verify the installation:
node -v
Node.js v18.x:
Using Ubuntu (Node.js 18)
Before you begin, ensure that curl
is installed on your system. If curl
is not installed, you can install it using the following command:
sudo apt-get install -y curl
-
Download the setup script:
curl -fsSL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh
-
Run the setup script with sudo:
sudo -E bash nodesource_setup.sh
-
Install N|Solid or Node.js:
N|Solid
Install N|Solid:
sudo apt-get install -y nsolid
Verify the installation:
nsolid -v
Node.js
Install Node.js:
sudo apt-get install -y nodejs
Verify the installation:
node -v
Using Debian, as root (Node.js 18)
Before you begin, ensure that curl
is installed on your system. If curl
is not installed, you can install it using the following command:
apt-get install -y curl
-
Download the setup script:
curl -fsSL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh
-
Run the setup script with sudo:
bash nodesource_setup.sh
-
Install N|Solid or Node.js:
N|Solid
Install N|Solid:
apt-get install -y nsolid
Verify the installation:
nsolid -v
Node.js
Install Node.js:
apt-get install -y nodejs
Verify the installation:
node -v
Node.js LTS (v20.x):
Using Ubuntu (Node.js LTS)
Before you begin, ensure that curl
is installed on your system. If curl
is not installed, you can install it using the following command:
sudo apt-get install -y curl
-
Download the setup script:
curl -fsSL https://deb.nodesource.com/setup_lts.x -o nodesource_setup.sh
-
Run the setup script with sudo:
sudo -E bash nodesource_setup.sh
-
Install N|Solid or Node.js:
N|Solid
Install N|Solid:
sudo apt-get install -y nsolid
Verify the installation:
nsolid -v
Node.js
Install Node.js:
sudo apt-get install -y nodejs
Verify the installation:
node -v
Using Debian, as root (N|Solid or Node.js LTS)
Before you begin, ensure that curl
is installed on your system. If curl
is not installed, you can install it using the following command:
apt-get install -y curl
-
Download the setup script:
curl -fsSL https://deb.nodesource.com/setup_lts.x -o nodesource_setup.sh
-
Run the setup script with sudo:
bash nodesource_setup.sh
-
Install N|Solid or Node.js:
N|Solid
Install N|Solid:
apt-get install -y nsolid
Verify the installation:
nsolid -v
Node.js
Install Node.js:
apt-get install -y nodejs
Verify the installation:
node -v
Node.js Current (22):
Using Ubuntu (Node.js Current)
Before you begin, ensure that curl
is installed on your system. If curl
is not installed, you can install it using the following command:
sudo apt-get install -y curl
-
Download the setup script:
curl -fsSL https://deb.nodesource.com/setup_current.x -o nodesource_setup.sh
-
Run the setup script with sudo:
sudo -E bash nodesource_setup.sh
-
Install Node.js:
sudo apt-get install -y nodejs
-
Verify the installation:
node -v
Using Debian, as root (Node.js Current)
Before you begin, ensure that curl
is installed on your system. If curl
is not installed, you can install it using the following command:
apt-get install -y curl
-
Download the setup script:
curl -fsSL https://deb.nodesource.com/setup_current.x -o nodesource_setup.sh
-
Run the setup script with sudo:
bash nodesource_setup.sh
-
Install Node.js:
apt-get install -y nodejs
-
Verify the installation:
node -v
Uninstall nsolid
or nodejs
Ubuntu & Debian packages
To completely remove Node.js or N|solid installed from the deb.nodesource.com package methods above:
use sudo
on Ubuntu or run this as root on debian
N|Solid
apt-get purge nsolid &&\
rm -r /etc/apt/sources.list.d/nodesource.list &&\
rm -r /etc/apt/keyrings/nodesource.gpg
Node.js
apt-get purge nodejs &&\
rm -r /etc/apt/sources.list.d/nodesource.list &&\
rm -r /etc/apt/keyrings/nodesource.gpg
Enterprise Linux Based Distributions
RPM Available architectures
NodeSource will continue to maintain the following architectures and may add additional ones in the future.
- x86_64 (64-bit)
- arm64 (ARM 64-bit, ARMv8 and up: aarch64-linux-gnu)
RPM Supported Versions
Fedora versions
Distro Name | Node 18x | Node 20x | Node 21x | Node 22x |
---|---|---|---|---|
Fedora >= 20 (20->28) | ❌ | ❌ | ❌ | ❌ |
Fedora >= 29 | ✅ | ✅ | ✅ | ✅ |
Fedora >= 36 | ✅ | ✅ | ✅ | ✅ |
Redhat versions
Distro Name | Node 18x | Node 20x | Node 21x | Node 22x |
---|---|---|---|---|
Redhat 7 | ❌ | ❌ | ❌ | ❌ |
Redhat 8 | ✅ | ✅ | ✅ | ✅ |
Redhat 9 | ✅ | ✅ | ✅ | ✅ |
Redhat 9-minimal | ✅ | ✅ | ✅ |