Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications.

Step 1: Enable node.js yum repository and development tools to build native add-ons.
yum install -y gcc-c++ make
curl -sL | sudo -E bash -
Step 2: Install Node.js

After enabling node.js repository,now we need to install node.js along with this npm will be installed with node.js.

sudo yum install nodejs
Step 3: Check Version of Node.js and NPM

Check node version

node -v 


Check npm version

npm -v 


Now npm and node has been installed.

© 2019, Techrunnr. All rights reserved.

Questions Answered
Articles Written
Overall Points
Categories: Linux


Leave a Reply

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.