Skip to content

Commit 9e0e668

Browse files
pierreneterfhemberger
authored andcommitted
Update Node.js versions in installation instructions for package managers
v4 -> v6. v6 -> v7 (#1002)
1 parent 7263904 commit 9e0e668

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

locale/en/download/package-manager.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ Also including: **Linux Mint**, **Linux Mint Debian Edition (LMDE)**, **elementa
3838

3939
Node.js is available from the [NodeSource](https://nodesource.com) Debian and Ubuntu binary distributions repository (formerly [Chris Lea's](https://github.com/chrislea) Launchpad PPA). Support for this repository, along with its scripts, can be found on GitHub at [nodesource/distributions](https://github.com/nodesource/distributions).
4040

41-
**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).
41+
**NOTE:** If you are using Ubuntu Precise or Debian Wheezy, you might want to read about [running Node.js >= 6.x on older distros](https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md).
4242

4343
```bash
44-
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
44+
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
4545
sudo apt-get install -y nodejs
4646
```
4747

48-
Alternatively, for Node.js v6:
48+
Alternatively, for Node.js v7:
4949

5050
```bash
51-
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
51+
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
5252
sudo apt-get install -y nodejs
5353
```
5454

@@ -114,16 +114,16 @@ Node.js is available from the [NodeSource](https://nodesource.com) Enterprise Li
114114

115115
Note that the Node.js packages for EL 5 (RHEL5 and CentOS 5) depend on the **[EPEL](https://fedoraproject.org/wiki/EPEL)** repository being available. The setup script will check and provide instructions if it is not installed.
116116

117-
Run as root on RHEL, CentOS or Fedora, for Node.js v4 LTS Argon:
117+
Run as root on RHEL, CentOS or Fedora, for Node.js v6 LTS:
118118

119119
```bash
120-
curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -
120+
curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
121121
```
122122

123-
Alternatively for Node.js v6:
123+
Alternatively for Node.js v7:
124124

125125
```bash
126-
curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
126+
curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
127127
```
128128

129129
Alternatively for Node.js 0.10:

0 commit comments

Comments
 (0)