Created
October 22, 2016 09:04
-
-
Save MrityunjaiKumar/fbcabea40b34dbadd31bacb245cee79a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get install -y build-essential g++ curl libssl-dev apache2-utils git libxml2-dev && | |
apt-get remove nodejs && | |
git clone git://github.com/creationix/nvm.git ~/nvm && | |
echo '. ~/nvm/nvm.sh' >> ~/.bashrc && . ~/.bashrc && | |
nvm install v4.1.0 && | |
nvm use v4.1.0 && | |
node -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment