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

August 31, 2019 | By the+gnu+linux+evangelist | 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 see: How to Enable sudo

    (Optional) Requirement for Installing npm Addons

    sudo yum install gcc-c++ make

Contents


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

QuickChic Theme • Powered by WordPress