xinbaihui / Blog

web front end
1 stars 0 forks source link

nvm install #2

Open xinbaihui opened 5 years ago

xinbaihui commented 5 years ago

What

node version manager

Install (windows)

Problem use npm install: npm install nvm,but when run nvm, show the error hint: This is not the package you are looking for: please go to http://nvm.sh

Solution

Install (macos)

[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

Usage