I've installed node version manager (NVM) and with that installed node.js v0.10.26. However, when I open a new terminal window node, npm, etc. are unavailable until I define a node version like so: "nvm use 0.10".
I'm assuming this is a $PATH issue, but I'm not really sure. How do I configure nvm so that I don't need to define the node.js version on every new terminal window.
Here's my .bash_profile:
export PATH="/Applications/MAMP/bin:/Applications/MAMP/Library/bin:$(find /Applications/MAMP/bin/php -type d -name "php5.4*" | sort | tail -1)/bin:$PATH"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export PATH=/usr/local/bin:$PATH
[ -s "/Users/tylermoore/.nvm/nvm.sh" ] && . "/Users/tylermoore/.nvm/nvm.sh" # This loads nvm