Created
January 14, 2015 10:24
-
-
Save bjoerge/9ea83333b9acd5a6cb7e to your computer and use it in GitHub Desktop.
Switch between io.js and node.js on OSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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