# How to install Node.js 5.x on CentOS and Ubuntu/Debian

DevFeed: [How to install Node.js 5.x on CentOS and Ubuntu/Debian](<https://devfeed.tech/articles/how-to-install-node-js-5-x-on-centos-and-ubuntu-debian-31825.md>)

Original publisher: [Read original article](<https://www.metachris.dev/2015/10/how-to-install-nodejs-5-on-centos-and-ubuntu/>)

Author: Chris Hager

Published: 2015-10-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Chris Hager](<https://devfeed.tech/sources/chris-hager.md>)

Topics: [Node.js](<https://devfeed.tech/topics/node-js.md>), [centos](<https://devfeed.tech/topics/centos.md>), [Debian](<https://devfeed.tech/topics/debian.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [npm](<https://devfeed.tech/topics/npm.md>)

Tags: [centos](<https://devfeed.tech/tags/centos.md>), [debian](<https://devfeed.tech/tags/debian.md>), [deprecated](<https://devfeed.tech/tags/deprecated.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [install](<https://devfeed.tech/tags/install.md>), [node](<https://devfeed.tech/tags/node.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [npm](<https://devfeed.tech/tags/npm.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

## AI overview

A tutorial explaining how to install the deprecated Node.js 5.x release, including npm, on CentOS 7 and on Ubuntu, Debian, Linux Mint, and elementaryOS using official repositories, package managers, and installation scripts.

## Source excerpt

Node.js v5.x is deprecated. Take a look at the current instructions on how to install Node.js 6.x Long-Term Support (LTS) and Node.js 7.x. Node.js v5.0.0 (stable) was released today, just a month after the v4.x long-term-support (LTS) release! Here is a quick and easy way to install the current Node.js 5.x (including npm) on CentOS and Ubuntu/Debian. Installing Node.js 5.x on CentOS 7 The easiest way is to install the latest Node.