Install NODE.JS on CentOS

Install NODE.JS on CentOS

To install Node.js on CentOS perform (as root):

curl -sL https://rpm.nodesource.com/setup | bash -
yum install -y nodejs

It will output each step as it moves along, prompting you to manually install any 3rd party dependencies.

Verify the install with:

node -v
Written by
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.