Last active
April 22, 2016 13:39
-
-
Save vaibhavmule/b9445815d70f772a6ece to your computer and use it in GitHub Desktop.
NodeJs installations bash script
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 command line developer tools | |
cd /Applications/Utilities/ | |
xcode-select --install | |
# install nvm node and npm | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash | |
echo ". ~/.nvm/nvm.sh" > ~/.bash_profile | |
nvm install stable | |
nvm use stable | |
nvm alias default stable | |
nvm use default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment