tlovely
tlovely

Reputation: 725

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?

Upvotes: 7

Views: 598

Answers (2)

Sk Arif
Sk Arif

Reputation: 1120

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!!

Upvotes: 7

Tom34
Tom34

Reputation: 21

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.

Upvotes: 2

Related Questions