Skip to content

can nvm install node from local node exe file #695

Discussion options

You must be logged in to vote

Currently, local installation sources are not supported. NVM4W relies on remote servers hosting Node.

There is a workaround though. You could mimic what NVM4W does during the install process. In the nvm installation root, create a folder called v12.x.x and v15.x.x (use the specific versions instead of the x's). Inside this directory, paste the node.exe file. You'll most likely want npm, npm.cmd, npx, npx.cmd, and possibly nodevars.bat. You'll also need to create node_modules in this directory and place any npm modules there (as well as npm). If you have global npm modules, they often have command files (i.e. module and module.cmd). You'll have to do this for each version. Once that is don…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by coreybutler
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