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

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

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

Author: Chris Hager

Published: 2017-01-12T00: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>), [Package manager](<https://devfeed.tech/topics/package-manager.md>)

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

## AI overview

A guide to installing Node.js 7.x, including npm, on Ubuntu, Debian, Linux Mint, elementaryOS, and CentOS-based distributions. It describes using setup scripts and system package repositories to receive updates while avoiding major version jumps.

## Source excerpt

Node.js 7.x is the current stable release of the Node.js, which is actively maintained in parallel to Node.js 6.x Long-Term Support (LTS). At the moment, the latest version is Node.js v7.4.0, and you can find the Node.js v7.x Changelog here on Github. This guide shows a quick and reliable way to install the current Node.js 7.x version (including npm) on Ubuntu/Debian and CentOS, using the system package manager, in order to continually receive security updates without risking a major version jump with possibly breaking changes.