Skip to content

Is there some way to switch node version only for current terminal? #1018

Answered by coreybutler
idlist asked this question in Q&A
Discussion options

You must be logged in to vote

There is no native way to do this. It comes down to the difference of using symlinks over shims. There will be a way to do this in Runtime.

Even though there is no native way to do this, there is a workaround. The node executable can be called directly. See https://github.com/coreybutler/nvm-windows/wiki/Common-Issues#how-can-i-use-two-different-versions-of-nodejs-at-the-same-time. You can find the Node installation root by running nvm debug.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by idlist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants