HostOnNet Blog

Install Node.js on CentOS 6

Looking for Linux Server Admin or WordPress Expert? We can help.

To install Node.js on CentOS 6, run following commands as user root

curl --silent --location | sudo bash -
yum install -y nodejs

Once installed, you have node and npm available.

[root@s45-40-135-102 ~]# node --version
[root@s45-40-135-102 ~]# npm --version
[root@s45-40-135-102 ~]# 

Now you can install required node modules with npm.

Posted in Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

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