Skip to content

Instantly share code, notes, and snippets.

@bjoerge
Created January 14, 2015 10:24
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 bjoerge/9ea83333b9acd5a6cb7e to your computer and use it in GitHub Desktop.
Save bjoerge/9ea83333b9acd5a6cb7e to your computer and use it in GitHub Desktop.
Switch between io.js and node.js on OSX
alias useio='ln -sf /usr/local/bin/iojs /usr/local/bin/node && node -v'
alias usenode='(brew unlink node && brew link --overwrite node) > /dev/null && node -v'
@bjoerge
Copy link
Author

bjoerge commented Jan 14, 2015

This works if you have installed io.js using the installer package downloaded from iojs.org and node.js installed via homebrew using brew install node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment