My version of node is always v0.6.1-pre even after I install brew node and NVM install v0.6.19.
My node version is:
If you have already installed nvm then execute the following commands
nvm deactivate
- This will remove /.nvm/*/bin from $PATHnvm list
- To list out all the versions of node installed in the systemnvm uninstall
in you can specify all the versions you want to uninstall.It is always a good that you install node using nvm
and uninstall using nvm
rather than brew
.
This solution worked for me.
Additional Commands
which node
to know the path of node installed in your system. You can rm this directory to uninstall node manually. Then you may need to adjust the PATH file accordingly.