Skip to content

Instantly share code, notes, and snippets.

@subfuzion
Last active August 29, 2015 14:18
Show Gist options
  • Save subfuzion/05c28cd9438589b63c21 to your computer and use it in GitHub Desktop.
Save subfuzion/05c28cd9438589b63c21 to your computer and use it in GitHub Desktop.
I use nvm to switch between io.js and node. These is my .bashrc configuration.

nvm works great for switching between versions of io.js and node. Get it here:

https://github.com/creationix/nvm

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm
[ -r $NVM_DIR/bash_completion ] && . $NVM_DIR/bash_completion
export NVM_SYMLINK_CURRENT=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment