How to Install Node.js on CentOS 7 Linux Easy Guide

August 31, 2019 | By thelinuxevangelist | Filed in: Tutorial.

Installing

  1. 2. Setting Up Repository

    How to Add Node JS CentOS Repository

    EL NodeJS Repo Setup
  2. 3. Installing

    Finally, to Install Node.js on CentOS
    Simply run:

    sudo yum install nodejs npm --enablerepo=epel

    If Got “User is Not in Sudoers file” then Look: Solution

    (Optional) Requirement for Installing npm Addons

    sudo yum install gcc-c++ make

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,