Maverick
Maverick

Reputation: 1303

Is it possible to install multiple instances of node.js with the windows .msi?

I've tried to install multiple versions of node.js using the .MSI installer but it seems that the second version uninstall the previous one.

Upvotes: 9

Views: 5742

Answers (4)

Clint Eastwood
Clint Eastwood

Reputation: 5698

As I commented on @Corey's answer, I tried NVM for Windows and it was really BAD. I strongly recommend using nvmw: it's very very simple, it has the same syntax as Linux's nvm (though reduced functionality) and it just works.

IMPORTANT NOTE: Run every single command from a shell prompt with Admin privileges! If you don't, you will run into lots of weird errors!!

Upvotes: 1

Corey
Corey

Reputation: 5239

You can also try NVM for Windows. It comes with an installer and super-easy commands.

enter image description here

Upvotes: 1

Maverick
Maverick

Reputation: 1303

I found this on github and solved my problem ...

https://github.com/marcelklehr/nodist

Upvotes: 3

travis
travis

Reputation: 8595

You could install multiple copies, but you'd first need to rename the old binaries. Although at this point I'd suggest just downloading the latest binary and place it inside the same directory (renaming what you need).

Not sure how this will affect NPM as it will use what ever binary is node.exe.

Upvotes: 1

Related Questions