node version managernode
Problem
use npm install: npm install nvm -g,but when run nvm, show the error hint: This is not the package you are looking for: please go to nvm.shgit
Solutiongithub
[touch ~/.bash_profile] // open cmd, enter current user's home directory, if there's no file named .bash_profile, then use the cmd create one, or you will encounter "command not found: nvm" after installing
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
複製代碼