Skip to content

Commit

Permalink
Update distributions README.md to include Node 6.x.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislea committed Apr 27, 2016
1 parent bb6939e commit 21a7b37
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,20 @@ NodeSource will maintain support for stable, testing and unstable releases of De
<a name="debinstall"></a>
### Installation instructions

**Node.js v6.x**:

* NOTE: If you are using Ubuntu Precise or Debian Wheezy, you might want to read about [running Node.js >= 4.x on older distros](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md).

```sh
# 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 v5.x**:

* NOTE: If you are using Ubuntu Precise or Debian Wheezy, you might want to read about [running Node.js >= 4.x on older distros](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md).
Expand Down Expand Up @@ -193,7 +207,7 @@ If you're not a fan of `curl <url> | bash -`, or you want to try use the reposit

In the commands below you should replace the following placeholders:

* **`{DISTRO}`**: replace with the codename of your distro, which will be something like: *wheezy, jessie, sid* or *precise, trusty, utopic, vivid* (or other supported Ubuntu or Debian distro)
* **`{DISTRO}`**: replace with the codename of your distro, which will be something like: *wheezy, jessie, sid* or *precise, trusty, wily, xenial* (or other supported Ubuntu or Debian distro)
* **`{VERSION}`**: replace with the version of Node.js or io.js you want to install, it should take the following form: *node_0.10, node_0.12* or *iojs_1.x*, *iojs_2.x*, etc.

**1. Remove the old PPA if it exists**
Expand Down Expand Up @@ -265,6 +279,14 @@ Note that the Node.js packages for EL 5 (RHEL5 and CentOS 5) depend on the [EPEL

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

**NodeJS 6.x**

* NOTE: If you are using RHEL 6 or CentOS 6, you might want to read about [running Node.js >= 4.x on older distros](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md).

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

**NodeJS 5.x**

* NOTE: If you are using RHEL 6 or CentOS 6, you might want to read about [running Node.js >= 4.x on older distros](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md).
Expand Down

0 comments on commit 21a7b37

Please sign in to comment.