From 9433958c3d8e21a7542691af0ae8452f29bead26 Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Mon, 4 Jan 2016 09:34:57 +0100 Subject: [PATCH] Point to Node.js v4 as a first choice for Red Hat installs. --- locale/en/download/package-manager.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/locale/en/download/package-manager.md b/locale/en/download/package-manager.md index 7d54a4a0eef5c..dcbbd64faaa4c 100644 --- a/locale/en/download/package-manager.md +++ b/locale/en/download/package-manager.md @@ -97,7 +97,19 @@ Node.js is available from the [NodeSource](https://nodesource.com) Enterprise Li 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. -Run as root on RHEL, CentOS or Fedora: +Run as root on RHEL, CentOS or Fedora, for Node.js v4 LTS Argon: + +```bash +curl --silent --location https://rpm.nodesource.com/setup_4.x | bash - +``` + +Alternatevely for Node.js v5: + +```bash +curl --silent --location https://rpm.nodesource.com/setup_5.x | bash - +``` + +Alternatevely for Node.js 0.10: ```bash curl --silent --location https://rpm.nodesource.com/setup | bash - @@ -106,7 +118,7 @@ curl --silent --location https://rpm.nodesource.com/setup | bash - Then install, as root: ```bash -yum -y install nodejs +yum -y install nodejs ``` ***Optional***: install build tools