-
-
Save dariocravero/8db219777b277c29fc06 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
curl https://raw.githubusercontent.com/tj/n/master/bin/n > /usr/local/bin/n | |
chmod +x /usr/local/bin/n | |
n io latest |
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
# install nvm to manage iojs | |
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash | |
# activate nvm | |
source ~/.nvm/nvm.sh | |
# and make sure it gets activated whenever we open a console | |
[[ -f ~/.bash_profile ]] && BASH_PROFILE=~/.bash_profile || BASH_PROFILE=~/.bashrc | |
echo "source ~/.nvm/nvm.sh" >> $BASH_PROFILE | |
# install and activate the latest iojs | |
nvm install iojs | |
nvm use iojs | |
nvm alias default iojs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment