Skip to content

Instantly share code, notes, and snippets.

@vaibhavmule
Last active April 22, 2016 13:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vaibhavmule/b9445815d70f772a6ece to your computer and use it in GitHub Desktop.
Save vaibhavmule/b9445815d70f772a6ece to your computer and use it in GitHub Desktop.
NodeJs installations bash script
# 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