如何同时运行不同版本的node.js? [英] How run different versions of node.js in same time?
本文介绍了如何同时运行不同版本的node.js?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经为我的cloud9应用程序安装了节点v0.8.25,我想在节点v0.11.2上进行开发.那么我可以在v0.8上运行cloud9并在Ubuntu上的v0.11.2上运行我的程序吗?我使用了nvm.
I have installed node v0.8.25 for my cloud9 application and i want develop on node v0.11.2. So can i run cloud9 on v0.8 and run my programs on v0.11.2 on Ubuntu? I used nvm.
谢谢.
推荐答案
正如霍布斯在他的评论中所说, nvm 是要走的路,因为它是专门为此而设计的.
As hobbs said in his comment, nvm is the way to go, since it was made specifically for this.
Check out this nice article on how to set it up/use it with different versions: http://codetheory.in/using-node-version-manager-nvm-to-manage-multiple-node-js-versions/
查看下面的rebrec评论,以获取有关如何使用nvm
Check rebrec's comment below for instructions on how to use nvm
这篇关于如何同时运行不同版本的node.js?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文