Skip to content

Instantly share code, notes, and snippets.

@bc-jasond
Created May 31, 2015 05:48
Show Gist options
  • Save bc-jasond/f3efbc7890fb68c5caf5 to your computer and use it in GitHub Desktop.
Save bc-jasond/f3efbc7890fb68c5caf5 to your computer and use it in GitHub Desktop.
nvm setup
#!/bin/bash
brew install nvm
nvm
mkdir ~/.nvm
cp $(brew --prefix nvm)/nvm-exec ~/.nvm/
echo "export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh" >> $HOME/.bashrc
nvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment