简体   繁体   中英

How to use different versions of node/npm on a single system?

My questions says it all.

Is it possible to install and use a different version of npm per project on a single system?

Yup it is possible to use different version of npm per project in a single system.

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.

Hope it helps you. Thanks!!

You can also use n created my TJ Holowaychuk . Which is simple flavour of node/iojs binary management, no subshells, no profile setup, no convoluted api, just simple.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM