Install nodejs on CentOS

I’m using a Centos 7.1 on Azure. Node.js is not there in default repo for CentOS via yum. But you can get it using EPEL. After you install EPEL you can get nodejs.

cd /usr/src/
sudo yum install epel-release
sudo yum install nodejs
sudo yum install npm

And don’t forget npm!

One thought on “Install nodejs on CentOS

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.