Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node版本切换——nvm #23

Open
mtonhuang opened this issue Dec 9, 2020 · 0 comments
Open

node版本切换——nvm #23

mtonhuang opened this issue Dec 9, 2020 · 0 comments
Labels

Comments

@mtonhuang
Copy link
Owner

mtonhuang commented Dec 9, 2020

node版本切换

  • 安装nvm
  • 安装对应的node版本
  • 切换node
  • 安装各自node版本的依赖
// 安装对应的node版本
nvm install 10.16.2 //nvm install xxx

// 查看node版本
nvm list

// 切换版本
nvm use xxx

// 根据版本安装对应的依赖
npm install -g whistle // 比如在14.10.2 中安装whistle
@mtonhuang mtonhuang added dependencies Pull requests that update a dependency file and removed dependencies Pull requests that update a dependency file labels Dec 9, 2020
@mtonhuang mtonhuang reopened this Dec 29, 2020
@mtonhuang mtonhuang added the node label Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant