Search code examples
node.jscommand-promptnvm

running two node versions using nvm-windows in parallel


Is there a way to run two different node versions using nvm-windows in parallel?


Solution

  • nvm-windows creates a symlink in C:\Program Files\nodejs and when you run nvm use x.x.x it updates the symlink to point to the right version under C:\Users\%user%\AppData\Roaming\nvm\vx.x.x (this is where different node versions getting installed)

    When you do run nvm use x.x.x, the active version of node is automatically updated across all open console windows. It also persists between system reboots, so you only need to use nvm when you want to make a change. source

    So it is highly improbable you can run two different version in parallel.