javascript - 如何在单个系统上使用不同版本的 node/npm?

标签 javascript node.js npm

我的问题说明了一切。

是否可以在单个系统上为每个项目安装和使用不同版本的 npm?

最佳答案

是的,可以在单个系统中为每个项目使用不同版本的 npm

If you are using Mac or Linux based systems then you can user Node Version Manager (nvm).

For better idea about installation and usages of nvm you can take a look at their github ripo.

But if you are using windows then you have two alternative to nvm. NVM for Windows and nodist. You will find installation and usages instruction on the likes.

希望对你有帮助。谢谢!!

关于javascript - 如何在单个系统上使用不同版本的 node/npm?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36957876/

相关文章:

node.js - 在 Express Node 应用程序中使用 connect-livereload

angular - 使用 Angular 库作为 git 依赖项

javascript - 如何从 JavaScript 中的字符串表示形式创建 RegExp?

javascript - 使用 D3.js 库更改桑基图中节点的颜色。

javascript - 如何用CSS3 rotate3d和transformZ控制重叠元素的绘制顺序?

javascript - 铁路由器与流路由器

node.js - Heroku "npm install jugglingdb mongoose"已经做了

node.js - NodeJS Express session 在页面刷新后过期

npm - 如何从 npm 安装 Google-Recaptcha

node.js - 如何使用nodejs处理OrientDB中的SQL注入(inject)?