0% found this document useful (0 votes)
29 views

GitHub - Nodesource - Distributions - NodeSource Node - Js Binary Distributions

Uploaded by

fabianlowe
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

GitHub - Nodesource - Distributions - NodeSource Node - Js Binary Distributions

Uploaded by

fabianlowe
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.

js Binary Distributions

nodesource / distributions Public

NodeSource Node.js Binary Distributions

nodesource.com

MIT license

13.3k stars 3.1k forks Branches Tags Activity

Star Notifications

Code Issues 15 Pull requests 2 Discussions Actions Projects Wiki Security In

mast… 62 Branches 0 Tags Go to file Go to file Code

riosje doc: Minor fix N|solid spelling fb1f06e · 4 hours ago

.circleci update ubuntu ci 2 months ago

.github chore: Add node22 Support 3 months ago

images Update documentation (#1248) 3 years ago

scripts doc: Minor fix N|solid spelling 4 hours ago

.gitignore feat: Added support for using microdnf 4 months ago

LICENSE.md update ci 7 months ago

OLDER_DISTROS.md Clarification. 8 years ago

OLD_README.md final corrections 7 months ago

README.md Update README.md 4 hours ago

NodeSource N|Solid & Node.js Binary Distributions

README MIT license

https://github.com/nodesource/distributions 1/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

Test Installation Scripts passing

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)
Available architectures
Supported Versions
Ubuntu versions
Debian versions
Installation instructions
Uninstall instructions
Enterprise Linux based distributions (rpm)
Available architectures
Supported Versions
Fedora versions
Redhat versions
Amazon Linux versions
Uninstall instructions
Nodejs Release Calendar
FAQ
Authors and Contributors
License

https://github.com/nodesource/distributions 2/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

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 ✅ ✅ ✅ ✅

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 th
following command:

sudo apt-get install -y curl

1. Download the setup script:

curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh

https://github.com/nodesource/distributions 3/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

2. Run the setup script with sudo:

sudo -E bash nodesource_setup.sh

3. Install Node.js:

sudo apt-get install -y nodejs

4. 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 th
following command:

apt-get install -y curl

1. Download the setup script:

curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh

2. Run the setup script with sudo:

bash nodesource_setup.sh

3. Install Node.js:

apt-get install -y nodejs

4. 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 th
following command:

sudo apt-get install -y curl

1. Download the setup script:

https://github.com/nodesource/distributions 4/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh

2. Run the setup script with sudo:

sudo -E bash nodesource_setup.sh

3. Install N|Solid or Node.js:

N|Solid

Node.js

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 th
following command:

apt-get install -y curl

1. Download the setup script:

curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh

2. Run the setup script with sudo:

bash nodesource_setup.sh

3. Install N|Solid or Node.js:

N|Solid

Node.js

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 th
following command:

sudo apt-get install -y curl

1. Download the setup script:

curl -fsSL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh

2. Run the setup script with sudo:

sudo -E bash nodesource_setup.sh


https://github.com/nodesource/distributions 5/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

3. Install N|Solid or Node.js:

N|Solid

Node.js

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 th
following command:

apt-get install -y curl

1. Download the setup script:

curl -fsSL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh

2. Run the setup script with sudo:

bash nodesource_setup.sh

3. Install N|Solid or Node.js:

N|Solid

Node.js

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 th
following command:

sudo apt-get install -y curl

1. Download the setup script:

curl -fsSL https://deb.nodesource.com/setup_lts.x -o nodesource_setup.sh

2. Run the setup script with sudo:

sudo -E bash nodesource_setup.sh

3. Install N|Solid or Node.js:

N|Solid

Node.js

https://github.com/nodesource/distributions 6/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions
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 th
following command:

apt-get install -y curl

1. Download the setup script:

curl -fsSL https://deb.nodesource.com/setup_lts.x -o nodesource_setup.sh

2. Run the setup script with sudo:

bash nodesource_setup.sh

3. Install N|Solid or Node.js:

N|Solid

Node.js

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 th
following command:

sudo apt-get install -y curl

1. Download the setup script:

curl -fsSL https://deb.nodesource.com/setup_current.x -o nodesource_setup.sh

2. Run the setup script with sudo:

sudo -E bash nodesource_setup.sh

3. Install Node.js:

sudo apt-get install -y nodejs

4. Verify the installation:

node -v

Using Debian, as root (Node.js Current)

https://github.com/nodesource/distributions 7/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

Before you begin, ensure that curl is installed on your system. If curl is not installed, you can install it using th
following command:

apt-get install -y curl

1. Download the setup script:

curl -fsSL https://deb.nodesource.com/setup_current.x -o nodesource_setup.sh

2. Run the setup script with sudo:

bash nodesource_setup.sh

3. Install Node.js:

apt-get install -y nodejs

4. 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

Node.js

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 ✅ ✅ ✅ ✅
https://github.com/nodesource/distributions 8/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

Distro Name Node 18x Node 20x Node 21x Node 22x

Fedora >= 36 ✅ ✅ ✅ ✅

Redhat versions

Distro Name Node 18x Node 20x Node 21x Node 22x

Redhat 7 ❌ ❌ ❌ ❌
Redhat 8 ✅ ✅ ✅ ✅
Redhat 9 ✅ ✅ ✅ ✅
Redhat 9-minimal ✅ ✅ ✅ ✅

Amazon Linux versions

Distro Name Node 18x Node 20x Node 21x Node 22x

Amazon Linux 2 ❌ ❌ ❌ ❌
Amazon Linux 2023 ✅ ✅ ✅ ✅

_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.

RPM Installation Instructions

Installation Instructions (RPM)


Node.js v22.x

Using RPM-based Systems (Node.js 22)

Before you begin, ensure that curl is installed on your system. If curl is not installed, you can install it using th
following command:

sudo yum install -y curl

1. Download the setup script:

curl -fsSL https://rpm.nodesource.com/setup_22.x -o nodesource_setup.sh

2. Run the setup script as root:

sudo bash nodesource_setup.sh

3. Install Node.js:

sudo yum install -y nodejs

https://github.com/nodesource/distributions 9/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

4. Verify the installation:

node -v

No root privileges (Node.js 22)

Before you begin, ensure that curl is installed on your system. If curl is not installed, you can install it using th
following command:

yum install -y curl

1. Download the setup script:

curl -fsSL https://rpm.nodesource.com/setup_22.x -o nodesource_setup.sh

2. Run the setup script as root:

bash nodesource_setup.sh

3. Install Node.js:

yum install -y nodejs

4. Verify the installation:

node -v

Node.js v20.x

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 th
following command:

sudo yum install -y curl

1. Download the setup script:

curl -fsSL https://rpm.nodesource.com/setup_20.x -o nodesource_setup.sh

2. Run the setup script as root:

bash nodesource_setup.sh

3. Install N|Solid or Node.js:

https://github.com/nodesource/distributions 10/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

N|Solid

Node.js

No root privileges (Node.js 20)

Before you begin, ensure that curl is installed on your system. If curl is not installed, you can install it using th
following command:

yum install -y curl

1. Download the setup script:

curl -fsSL https://rpm.nodesource.com/setup_20.x -o nodesource_setup.sh

2. Run the setup script as root:

bash nodesource_setup.sh

3. Install N|Solid or Node.js:

N|Solid

Node.js

Node.js v18.x

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 th
following command:

sudo yum install -y curl

1. Download the setup script:

curl -fsSL https://rpm.nodesource.com/setup_18.x -o nodesource_setup.sh

2. Run the setup script as root:

bash nodesource_setup.sh

3. Install N|Solid or Node.js:

N|Solid

Node.js

No root privileges (Node.js 18)

https://github.com/nodesource/distributions 11/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

Before you begin, ensure that curl is installed on your system. If curl is not installed, you can install it using th
following command:

yum install -y curl

1. Download the setup script:

curl -fsSL https://rpm.nodesource.com/setup_18.x -o nodesource_setup.sh

2. Run the setup script as root:

sudo bash nodesource_setup.sh

3. Install N|Solid or Node.js:

N|Solid

Node.js

N|Solid or Node.js LTS (20.x)

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 th
following command:

yum install -y curl

1. Download the setup script:

curl -fsSL https://rpm.nodesource.com/setup_lts.x -o nodesource_setup.sh

2. Run the setup script as root:

bash nodesource_setup.sh

3. Install N|Solid or Node.js:

N|Solid

Node.js

No root privileges (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 th
following command:

sudo yum install -y curl

https://github.com/nodesource/distributions 12/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

1. Download the setup script:

curl -fsSL https://rpm.nodesource.com/setup_lts.x -o nodesource_setup.sh

2. Run the setup script as root:

sudo bash nodesource_setup.sh

3. Install N|Solid or Node.js:

N|Solid

Node.js

Node.js Current (22.x)

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 th
following command:

yum install -y curl

1. Download the setup script:

curl -fsSL https://rpm.nodesource.com/setup_current.x -o nodesource_setup.sh

2. Run the setup script as root:

bash nodesource_setup.sh

3. Install Node.js:

yum install -y nodejs

4. Verify the installation:

node -v

No root privileges (Node.js Current)

Before you begin, ensure that curl is installed on your system. If curl is not installed, you can install it using th
following command:

sudo yum install -y curl

1. Download the setup script:

https://github.com/nodesource/distributions 13/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

curl -fsSL https://rpm.nodesource.com/setup_current.x -o nodesource_setup.sh

2. Run the setup script as root:

sudo bash nodesource_setup.sh

3. Install Node.js:

sudo yum install -y nodejs

4. Verify the installation:

node -v

Optional: install build tools

To compile and install native addons from npm you may also need to install build tools:

yum install gcc-c++ make


# or: yum groupinstall 'Development Tools'

Uninstall nsolid or nodejs Enterprise Linux packages

To completely remove Node.js installed from the rpm.nodesource.com package methods above:

use sudo or run this as root

N|Solid

Node.js

https://github.com/nodesource/distributions 14/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

Nodejs Release Calendar


Oct 2023 Jan 2024 Apr 2024 Jul 2024 Oct 2024 Jan 2025 Apr 2025 Jul 2025 Oct 2025 Jan 2026 Apr 2026 Jul 20

Main UNSTABLE

Node.js 16

Node.js 18 MAINTENANCE

Node.js 20 ACTIVE MAINTENANCE

Node.js 21 CURRENT

Node.js 22 CURRENT ACTIVE MAINTENANCE

Node.js 23 CURRENT

Node.js 24 CURRENT ACTIVE

source: https://nodejs.dev

FAQ
Q: Are the scripts deprecated?

A: The scripts are deprecated for the versions of Node.js that are currently outdated. While the packages for thes
versions still exist, we no longer provide support for them. Our support is exclusively dedicated to the active
Node.js versions, which, as of today, are 18, 20, and 21. Users utilizing these versions can confidently use our
scripts, but we encourage those using older versions to upgrade for continued support and the best experience.

Q: How can I configure the repository manually?

A: If you prefer to manually configure the repository, we have a detailed guide to assist you through the process.
Please visit our Repository Manual Installation Guide for comprehensive instructions. This guide is designed to
provide step-by-step directions to ensure a smooth and successful manual setup of the repository for your Node
environment.

Q: How do I pin to specific versions of Node.js?

A: Please take a look at wiki

Q: Why is there no folder listing available when I visit the following URLs?
https://deb.nodesource.com/node_XX.x/pool/main/n/

https://rpm.nodesource.com/pub_20.x/

https://github.com/nodesource/distributions 15/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

A: This issue may arise because some users utilize the above URLs to download specific versions of Node.js or
create mirrors of our repository.

For more information and possible solutions, please refer to the following resources:

Github issue
Creating a Repository Mirror

Authors and Contributors

Current Members

Adrian Estrada GitHub/edsadr Twitter/@edsadr

Jesus Paz GitHub/JesusPaz

Jefferson Rios GitHub/riosje

Past Members

Chris Lea GitHub/chrislea Twitter/@chrislea

Rod Vagg GitHub/rvagg Twitter/@rvagg

William Blankenship GitHub/retrohacker Twitter/@retrohack3r

Harry Truong GitHub/harrytruong

Matteo Brunati GitHub/mattbrun

Brian White GitHub/mscdex

Matt Lewandowsky GitHub/lewellyn

Jan-Hendrik Peters GitHub/hennr

Andris Reinman GitHub/andris9

Carvilsi GitHub/carvilsi

Krasimir Trenchev GitHub/Ava7

Phil Helm GitHub/phelma

0xmohit GitHub/0xmohit

jdarling GitHub/jdarling

Prayag Verma GitHub/pra85

Misha Brukman GitHub/mbrukman

Simon Lydell GitHub/lydell

Sebastian Blei GitHub/iamsebastian

Jorge Maldonado Ventura NotABug/jorgesumle

https://github.com/nodesource/distributions 16/17
7/11/24, 4:14 PM GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions

Mayank Metha GitHub/mayankmetha Twitter/@mayankmethad

á á

Releases

No releases published

Contributors 89

+ 75 contributors

Languages

Shell 100.0%

https://github.com/nodesource/distributions 17/17

You might also like