My problem is almost the same as this one but i already set the default alias.
Once i open a new console nvm does not load the default node, this problem is also present with some SublimeText3 plugins (eslint, jscs for example).
The only way to make it work is to add nvm use default after loading nvm but i thik i am doing something wrong.
How can i make it work without the hack?
My configuration
- brew 0.9.5
- nvm 0.26.0 (installed using brew)
- zsh (with oh-my-zsh)
I have nvm sourced in .zshenv with th following config:
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
# nvm use default # <-- remove comment to make node available
nvm is configured as follows (result of the command nvm ls):
iojs-v3.0.0
v0.12.7
default -> iojs (-> iojs-v3.0.0)
node -> stable (-> v0.12.7) (default)
stable -> 0.12 (-> v0.12.7) (default)
iojs -> iojs-v3.0 (-> iojs-v3.0.0) (default)