Skip to content

Instantly share code, notes, and snippets.

@Viktorminator
Created September 24, 2014 22:11
Show Gist options
  • Save Viktorminator/c23b364b30257de0a702 to your computer and use it in GitHub Desktop.
Save Viktorminator/c23b364b30257de0a702 to your computer and use it in GitHub Desktop.
git clone git://github.com/creationix/nvm.git ~/.nvm
printf "\n\n# NVM\nif [ -s ~/.nvm/nvm.sh ]; then\n\tNVM_DIR=~/.nvm\n\tsource ~/.nvm/nvm.sh\nfi" >> ~/.bashrc
NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment