nvm: nvm.sh does not do anything
I installed node js with nvm but now I cant get it to work again
I finaly found that the bashrc lines were not executed when I was taking a session on the machine
[ -s “$NVM_DIR/nvm.sh” ] && . “$NVM_DIR/nvm.sh” had to be manualy executed
$ nvm
-bash: nvm: command not found
$ .nvm/nvm.sh
$ .nvm/nvm.sh debug
$ [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
$ nvm
Node Version Manager
Note: <version> refers to any version-like string nvm understands. This includes:
- full or partial version numbers, starting with an optional "v" (0.10, v0.1.2, v1)
- default (built-in) aliases: node, stable, unstable, iojs, system
- custom aliases you define with `nvm alias foo`
...
- How did you install
nvm
? (e.g. install script in readme, homebrew):
this used to work :
wget https://raw.githubusercontent.com/creationix/nvm/v0.32.0/install.sh
bash install.sh
chmod +x .nvm/nvm.sh
nvm ls-remote
nvm install 6.10.1
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (9 by maintainers)
Most upvoted comments
+1
phil123456 on May 17, 2017