Install NodeJS on AWS linux

It might be done with simple script:

sudo su
cd /tmp
yum update -y
yum install -y curl
yum groupinstall "Development Tools" -y
tar -zxf node-* && cd node-*
make install


nano /etc/sudoers

Add :/usr/local/bin to the end of Defaults    secure_path = /sbin:/bin:/usr/sbin:/usr/bin string

Reboot & check node version:

Screen Shot 2015-12-21 at 17.03.28

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.