Install Node.js on CentOS Server

To install Node.js on CentOS 7

Add node.js repository

NodeJS 11.x

NodeJS 10.x

NodeJS 8.x

NodeJS 6.x

Install node.js with

For npm to install native modules, install dev tools

Or

See Node.Js