# How to install Node.js 6.x Long-Term Support (LTS) on Ubuntu/Debian and CentOS

DevFeed: [How to install Node.js 6.x Long-Term Support (LTS) on Ubuntu/Debian and CentOS](<https://devfeed.tech/articles/how-to-install-node-js-6-x-long-term-support-lts-on-ubuntu-debian-and-centos-31841.md>)

Original publisher: [Read original article](<https://www.metachris.dev/2017/01/how-to-install-nodejs-6-lts-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>), [Package manager](<https://devfeed.tech/topics/package-manager.md>), [centos](<https://devfeed.tech/topics/centos.md>), [Debian](<https://devfeed.tech/topics/debian.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [apt](<https://devfeed.tech/topics/apt.md>), [npm](<https://devfeed.tech/topics/npm.md>)

Tags: [apt](<https://devfeed.tech/tags/apt.md>), [centos](<https://devfeed.tech/tags/centos.md>), [debian](<https://devfeed.tech/tags/debian.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [install](<https://devfeed.tech/tags/install.md>), [linux](<https://devfeed.tech/tags/linux.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>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

## AI overview

A tutorial for installing Node.js 6.x LTS, including npm, on Ubuntu, Debian, and CentOS. It recommends using the system package manager and distribution-specific setup scripts so installations can continue receiving security updates without unintended major-version changes.

## Source excerpt

Node.js 6.x is the current Node.js long-term support (LTS) release, with Node.js v6.9.4 being the most recent release as of time of writing. This guide shows a quick and reliable way to install the current Node.js 6.x LTS version (including npm) on Ubuntu/Debian and CentOS. console.log("Hello World"); We will use the system package manager (eg. apt or yum) to install Node.js 6.x, to be able to continually receive security updates without risking a major version jump with possibly breaking changes.