Closed nevir closed 8 years ago
Ah! ok, so it turns out I somehow had
[[ -s "$HOME/.avn/bin/avn.sh" ]] && source "$HOME/.avn/bin/avn.sh" # load avn
present in both .zshrc
and .zshenv
.
Glad you figured it out. avn
doesn't write to .zshenv
, so I'm not sure how it got there. Perhaps another setup script copied it there?
Unfortunately, I'm not sure what other information I can provide.
I'm running zsh (oh-my-zsh)
The steps I took:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
(reopen terminal)nvm install 4.2.3
nvm alias default 4.2.3
(avn
explodes if there isn't anode
on the path)npm install -g avn avn-nvm
avn setup
(reopen terminal).node-version
with 4.2.3 to a directory