Created
July 17, 2017 05:28
-
-
Save drumadrian/150c9adcb79f16be003951ff31613c21 to your computer and use it in GitHub Desktop.
Install NVM (globally) on Amazon Linux as root user
This file contains hidden or 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
wget https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh /home/ec2-user/install.sh | |
NVM_DIR=/usr/bin | |
bash /home/ec2-user/install.sh | |
mv /usr/bin/nvm.sh /usr/bin/nvm | |
nvm install 4.3 | |
node -e "console.log('Running Node.js ' + process.version)" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment