首页 > Web开发 > 详细

[Tools] Install and Manage Node.js Versions with nvm

时间:2020-05-28 09:22:56      阅读:44      评论:0      收藏:0      [点我收藏+]

It can be difficult to work on multiple projects that use different versions of Node.

nvm (Node Version Manger) make this easier by allowing you to download multiple versions and switch between them. You can also add a NVM configuration file (i.e. .nvmrc) to specify which version you want to use for each project.

 

Create .nvmrc:

lts/erbium // v12

// or just list the version you want to use

5.12.0

 

Then just run:

nvm use

 

[Tools] Install and Manage Node.js Versions with nvm

原文:https://www.cnblogs.com/Answer1215/p/12977819.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!