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

August 31, 2019 | By the+gnu+linux+evangelist.

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 -y --setopt=nodesource-nodejs.module_hotfixes=1

    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


QuickChic Theme • Powered by WordPress