NodeSource Node.js Binary Distributions

Subscribe to updates I use distributions

Statistics on distributions

Number of watchers on Github 3084
Number of open issues 64
Average time to close an issue 3 days
Main language Shell
Average time to merge a PR 9 days
Open pull requests 23+
Closed pull requests 23+
Last commit 11 months ago
Repo Created over 4 years ago
Repo Last Updated 10 months ago
Size 370 KB
Organization / Authornodesource
Page Updated
Do you use distributions? Leave a review!
View open issues (64)
View distributions activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating distributions for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

NodeSource Node.js and io.js Binary Distributions

This repository contains the source of the NodeSource Node.js and io.js Binary Distributions setup and support scripts.

If you are looking for NodeSource's Enterprise-grade Node.js platform, N|Solid, please visit https://downloads.nodesource.com/

For Debian / Ubuntu based distributions, see the deb directory for the source of the two setup scripts located at https://deb.nodesource.com/setup and https://deb.nodesource.com/setup_dev.

For Enterprise Linux based distributions (Red Hat Enterprise Linux / RHEL, CentOS, CloudLinux, Fedora), see the rpm directory for the source of setup script located at https://rpm.nodesource.com/setup.

Please file an issue if you are experiencing a problem or would like to discuss something related to the distributions.

Pull requests are encouraged if you have changes you believe would improve the setup process or increase compatibility across Linux distributions.

Table of Contents

Debian and Ubuntu based distributions

Available architectures:

NodeSource will continue to maintain the following architectures and may add additional ones in the future.

  • i386 (32-bit)
  • amd64 (64-bit)
  • armhf (ARM 32-bit hard-float, ARMv7 and up: arm-linux-gnueabihf)
  • arm64 (ARM 64-bit hard-float, ARMv8 and up: aarch64-linux-gnu)

PLEASE NOTE that armhf builds AND builds >= v7.x are NOT available for Debian Wheezy. For more information read about Node.JS >= 4.x on older distros.

Supported Ubuntu versions:

NodeSource will maintain Ubuntu distributions in active support by Canonical, including LTS and the intermediate releases.

  • Ubuntu 14.04 LTS (Trusty Tahr)
  • Ubuntu 16.04 LTS (Xenial Xerus)
  • Ubuntu 16.10 (Yakkety Yak)
  • Ubuntu 17.04 (Zesty Zappus)
  • Ubuntu 17.10 (Artful Aardvark)

Supported Debian versions:

NodeSource will maintain support for stable, testing and unstable releases of Debian, due to the long release cycle a considerable number of users are running unstable.

  • Debian 7 (wheezy) [Node.js > 6.x is not supported on Debian Wheezy]
  • Debian 8 / stable (jessie)
  • Debian 9 (stretch)
  • Debian 10 / testing (buster)
  • Debian unstable (sid)

Supported Linux Mint versions:

  • Linux Mint 13 Maya (via Ubuntu 12.04 LTS)
  • Linux Mint 17 Qiana (via Ubuntu 14.04 LTS)
  • Linux Mint 17.1 Rebecca (via Ubuntu 14.04 LTS)
  • Linux Mint 17.2 Rafaela (via Ubuntu 14.04 LTS)
  • Linux Mint 18 Sarah (via Ubuntu 16.04 LTS)
  • Linux Mint 18.1 Serena (via Ubuntu 16.04 LTS)
  • Linux Mint 18.2 Sonya (via Ubuntu 16.04 LTS)
  • Linux Mint 18.3 Sylvia (via Ubuntu 16.04 LTS)
  • Linux Mint Debian Edition (LMDE) 2 Betsy (via Debian 8)

Supported elementary OS versions:

  • elementary OS Luna (via Ubuntu 12.04 LTS)
  • elementary OS Freya (via Ubuntu 14.04 LTS)
  • elementary OS Loki (via Ubuntu 16.04)

Supported Trisquel versions:

  • Trisquel 6 Toutatis (via Ubuntu 12.04 LTS)
  • Trisquel 7 Belenos (via Ubuntu 14.04 LTS)

Supported BOSS versions:

  • BOSS 5.0 Anokha (via Debian 7)

Supported BunsenLabs versions:

  • Hydrogen (rc2) (via Debian 8)

Installation instructions

Node.js v9.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_9.x | bash -
apt-get install -y nodejs

Node.js v8.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_8.x | bash -
apt-get install -y nodejs

Node.js v6.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_6.x | bash -
apt-get install -y nodejs

Node.js v4.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_4.x | bash -
apt-get install -y nodejs

Node.js v0.12:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_0.12 | bash -
apt-get install -y nodejs

Node.js v0.10:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_0.10 | sudo -E bash -
sudo apt-get install -y nodejs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_0.10 | bash -
apt-get install -y nodejs

io.js v3.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_iojs_3.x | sudo -E bash -
sudo apt-get install -y iojs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_iojs_3.x | bash -
apt-get install -y iojs

io.js v2.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_iojs_2.x | sudo -E bash -
sudo apt-get install -y iojs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_iojs_2.x | bash -
apt-get install -y iojs

io.js v1.x:

Note: this branch of io.js is not actively maintained and is not recommended for production use.

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_iojs_1.x | sudo -E bash -
sudo apt-get install -y iojs

# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_iojs_1.x | bash -
apt-get install -y iojs

Optional: install build tools

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

# use `sudo` on Ubuntu or run this as root on debian
apt-get install -y build-essential

Manual installation

If you're not a fan of curl <url> | bash -, or are using an unsupported distribution, you can try a manual installation.

These instructions assume sudo is present, however some distributions do not include this command by default, particularly those focused on a minimal environment. In this case, you should install sudo or su to root to run the commands directly.

1. Remove the old PPA if it exists

This step is only required if you previously used Chris Lea's Node.js PPA.

# add-apt-repository may not be present on some Ubuntu releases:
#sudo apt-get install python-software-properties
sudo add-apt-repository -y -r ppa:chris-lea/node.js
sudo rm -f /etc/apt/sources.list.d/chris-lea-node_js-*.list
sudo rm -f /etc/apt/sources.list.d/chris-lea-node_js-*.list.save

2. Add the NodeSource package signing key

curl --silent https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
# wget can also be used:
# wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -

3. Add the desired NodeSource repository

# Replace with the branch of Node.js or io.js you want to install: node_0.10, node_0.12, node_4.x, node_5.x, etc...
# The below command will set this correctly, but if lsb_release isn't available, you can set it manually:
# - For Debian distributions: wheezey, jessie, sid, etc...
# - For Ubuntu distributions: trusty, xenial, etc...
# - For Debian or Ubuntu derived distributions your best option is to use the codename corresponding to the upstream release your distribution is based off. This is an advanced scenario and unsupported if your distribution is not listed as supported per earlier in this README.
DISTRO="$(lsb_release -s -c)"
echo "deb https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee /etc/apt/sources.list.d/nodesource.list
echo "deb-src https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list

4. Update package lists and install Node.js

sudo apt-get update
sudo apt-get install nodejs

Enterprise Linux based distributions

Available architectures:

NodeSource will continue to maintain the following architectures and may add additional ones in the future.

  • i386 (32-bit, not available for all distros)
  • x86_64 (64-bit)

Supported Red Hat Enterprise Linux versions:

  • RHEL 6 (32-bit and 64-bit) [For Node < 4.x]
  • RHEL 6 (64-bit) [For Node >= 4.x]
  • RHEL 7 (64-bit)

Supported CentOS versions:

  • CentOS 6 (32-bit and 64-bit) [For Node < 4.x]
  • CentOS 6 (64-bit) [For Node >= 4.x]
  • CentOS 7 (64-bit)

Supported CloudLinux versions:

  • CloudLinux 6 (32-bit and 64-bit)

Supported Fedora versions:

  • Fedora 26 (Twenty Six) (32-bit and 64-bit) [For Node >= 6.11.0]
  • Fedora 25 (Twenty Five) (32-bit and 64-bit) [For Node >= 4.7.2]

Equivalent versions of Korora Linux should also be supported.

Installation instructions

Current instructions for installing, as listed on the Node.js Wiki:

Note that the Node.js packages for EL 5 (RHEL5 and CentOS 5) depend on the EPEL repository being available. The setup script will check and provide instructions if it is not installed.

Run as root on RHEL, CentOS, CloudLinux or Fedora:

NodeJS 9.x

curl -sL https://rpm.nodesource.com/setup_9.x | bash -

NodeJS 8.x

curl -sL https://rpm.nodesource.com/setup_8.x | bash -

NodeJS 6.x

curl -sL https://rpm.nodesource.com/setup_6.x | bash -

NodeJS 4.x

curl -sL https://rpm.nodesource.com/setup_4.x | bash -

NodeJS 0.12.x

curl -sL https://rpm.nodesource.com/setup_0.12 | bash -

NodeJS 0.10.x

curl -sL https://rpm.nodesource.com/setup | bash -

Then install, as root:

yum install -y nodejs

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'


To test an installation is working (and that the setup scripts are working!) use:

curl -sL https://deb.nodesource.com/test | bash -


Q: How do I use this repo when behind a proxy?

A: Please take a look at issue #9

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

A: Please take a look at issue #33

Q: I upgraded to a new major version of Node.js using the scripts, but the old version is still being installed, what is going on?

A: You probably need to clear out your package manager's cache. Take a look at issue #191

Q: I'm trying to install Node.js on Centos 5 and it is failing, why?

A: Due to the limitations of the compiler tool chain on Centos5, we currently can only support Node.js 0.10 on that release. See issue #190

Q: I'm seeing Your distribution, identified as.i686or.i386, is not currently supported, why?

A: Node.js 4.x and newer require a 64bit os for rpms. See issue #268

Q: Why have certain versions of platforms/releases stopped receiving updates to Node.js?

A: Unfortunately, newer versions of v8 require a modern compiler toolchain. On some platforms, such as ARM wheezy, that toolchain is not available. See issue #247

Q: What is the current status of IPv6 support?

A: See issue #170

Requested Distributions

We, unfortunately, do not have the resources necessary to support and test the plethora of Linux releases in the wild, so we rely on community members such as yourself to get support on your favorite distributions! This is a list of releases that have been requested by the community. If you are interested in contributing to this project, this would be a great place to start!

Authors and Contributors

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

Contributions are welcomed from anyone wanting to improve this project!


This material is Copyright (c) 2016 NodeSource and licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.

Supported with love by Chris Lea, Rod Vagg and the NodeSource team

This project is not affiliated with Debian, Ubuntu, Red Hat, CentOS or Fedora.
Ubuntu is a registered trademark of Canonical Ltd.
Debian is a registered trademark owned by Software in the Public Interest, Inc.
Red Hat, CentOS and Fedora are trademarks of Red Hat, Inc.
CloudLinux is a trademark of Cloud Linux, Inc

distributions open issues Ask a question     (View All Issues)
  • about 2 years installing node on older OS versions
  • about 2 years Setup installs End-Of-Life version of Node.js
  • about 2 years Node Installation on ubuntu 16.04
  • about 2 years Debian packages should recommend ca-certificates
  • over 2 years Cannot find module on ubuntuGnome 16.04 with node.js v:4.6.0
  • over 2 years Unable to install NodeJS 4, 5 or 6 on CentOS 5/6
  • over 2 years Check for enabled flag repo in scripts
  • over 2 years The installation script doesn't work correctly on Ubuntu 16.04 LTS. When the user intends to install v6, v4 is actually installed.
  • over 2 years yum broken on Centos5 when nodesource repo is enabled
  • over 2 years ipv6 problem
  • over 2 years CentOS 6.7 not supported
  • over 2 years REQUEST for support of Node.js v6
  • over 2 years Incorrect version of Node package in Yum repo
  • over 2 years Manual installation instructions for EL / Fedora
  • almost 3 years Failed to install on Amazon Cloud desktop system-release-2012.03-3.16.metal.noarch
  • almost 3 years Unable to build native addons on Centos 6 with Node 4.3
  • about 3 years https://rpm.nodesource.com/setup_0.12 creates incorrect URL to RPM
  • about 3 years Clean npm installation in pre-install
  • about 3 years RHEL/CentOS 7 repomd.xml timestamp issue
  • over 3 years debian package pinning
  • over 3 years nodejs 0.12 on Fedora 21
  • almost 4 years Allow plain HTTP access? (+ apt-cacher-ng HTTPS how-to, + make HTTP mirrors)
  • almost 4 years Can you publish nodejs.spec file on github so that others can send pull requests?
  • about 4 years Install a specific version
distributions open pull requests (View All Pulls)
  • Enforce Root
  • Backward compatibility with RHEL5.1
  • Add elementary OS Loki support
  • Adding contributors table
  • Clean-up manual installation instructions for Debian distributions
  • add v0.10 and v0.12 EOL warning
  • Ensure transfer is complete before execution
  • Kali-rolling support added
  • ElementaryOS 4 - loki support added
  • Add WahaLinux to supported distributions
  • Fix typo in README.md
  • Add Trisquel 8 (flidas) support.
  • Update setup_6.x
  • Add support for DNF, change installation text to reference dnf instead of yum
  • Update setup_7.x
  • Add Oracle Linux
  • Added support for PureOS v8 "green"
  • Added Pardus Alternative
  • Deepin alternative
  • Add: automatic generate Debian script to install Node 8
  • Add: support for SolydXK a distribution based on Debian
  • Add aliases for Devuan Jessie/Ascii/Ceres releases
  • Support for PureOS
distributions questions on Stackoverflow (View All Questions)
  • Gradle sync failed: Server returned HTTP response code: 522 for URL: https://services.gradle.org/distributions/gradle-2.4-all.zip
  • C++11 random number distributions are not consistent across platforms -- what alternatives are there?
  • Efficiently sampling Hypergeometric Distributions with Large population?
  • How to execute a gradle task before any distributions are built
  • what is select distribution ratio under insert distributions in cassandra stress tool?
  • how to manage multiple Python distributions on one device
  • Python and R(ggplot2): batch histograms to compare the default rates and the distributions of each variable
  • How can I upload both zip and targz distributions to PyPI?
  • Fitting a mixture of lognormal distributions in Python
  • Restart jar with root privileges on most (if not all) Linux distributions
  • Do all Linux distributions implement process capabilities and credentials for security?
  • How do I generate data that have the same mean, standard deviation but very different shapes or distributions in R?
  • What are the interval transforms in pymc3 for uniform distributions?
  • In R topicmodels package, how could we get the topics' distributions over terms?
  • Assign values to records randomly based on given distributions
  • Binary compatibility between Linux distributions
  • Why do the Frechet distributions differ in scipy.stats vs R
  • Draw random numbers from the mixture of uniform distributions
  • random choice, specific distributions, variable applicability
  • Deploying a Qt 5.5.1 C++ application on multiple Linux distributions
  • Difference between nodejs v0.12 and v5.x distributions
  • weak Learners based on distributions : Decision stump
  • Two distributions in with googleVis in R
  • R: How to get a sum of two distributions?
  • How to make a grouped histogram with normal distributions with ggplot?
  • How to strip source from distutils binary distributions?
  • R: How to add normal distributions to overlapping grouped histograms with lattice
  • Java Generator for Poisson and Uniform Distributions?
  • Fitting distributions, goodness of fit, p-value. Is it possible to do this with Scipy (Python)?
  • How to generate vector with different prob. distributions for each element
distributions list of languages used
Other projects in Shell