Created
February 21, 2012 11:55
-
-
Save onjiro/1876096 to your computer and use it in GitHub Desktop.
nvm install
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
#!/bin/sh | |
sudo apt-get install curl | |
git clone git://github.com/creationix/nvm.git ~/.nvm | |
. ~/.nvm/nvm.sh | |
echo ". ~/.nvm/nvm.sh" >> ~/.bashrc | |
echo "enter node version you want to install..." | |
read -p "ex.) v0.6.11 > " version | |
nvm install $version | |
nvm use $version | |
echo "nvm use $version" >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment