Skip to content

Using a custom installation path for node #1128

Answered by coreybutler
JosXa asked this question in General
Discussion options

You must be logged in to vote

There's no special registry. NVM4W reads the NVM_HOME directory, identifying node versions named with the vX.X.X pattern. If you want to install a specific version w/o using nvm install, just drop the appropriately named folder into NVM_HOME. As for creating the symlink, I'd recommend using nvm use ..., but if you really want to do it on your own, use mklink to update the symlink target of NVM_SYMLINK. This is how NVM4W does it behind the scenes, with the major difference being NVM4W automatically attempts to elevate the command, leverage UAC prompts when necessary, etc.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@JosXa
Comment options

@JosXa
Comment options

@coreybutler
Comment options

@JosXa
Comment options

Answer selected by JosXa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants