Install Nodejs [node & npm] in CentOs 6

Install Nodejs [node & npm] in CentOs 6

Install Repository

# sudo rpm -Uvh https://rpm.nodesource.com/pub_5.x/el/6/x86_64/nodesource-release-el6-1.noarch.rpm

Install Nodejs

# sudo yum install nodejs

Check:

# node -v
v5.12.0

#npm -v
3.8.6

Advertisements

Leave a Reply

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

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s