sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install -y build-essential
sudo apt-get install -y git
sudo apt-get install -y vim
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
sudo apt-get -y install oracle-java8-installer
wget https://nodejs.org/dist/v0.12.7/node-v0.12.7-linux-x64.tar.gz
tar -xvf node-v0.12.7-linux-x64.tar.gz
echo "" >> ~.bashrc
echo "export NODE_HOME=/home/ubuntu/node-v0.12.7-linux-x64.tar.gz" >> ~/.bashrc
echo "export PATH=\$PATH:\$NODE_HOME/bin" >> ~/.bashrc
exec bash # -l // if it was a normal session instead of ssh.