Does it edit windows registries? Adds something to PATH? Adds environment variables to user profile? Stores something to APP_DATA directory?
What exactly is the outcome of "nvm use" command? And how given setting is persisted into the system?
Does it edit windows registries? Adds something to PATH? Adds environment variables to user profile? Stores something to APP_DATA directory?
What exactly is the outcome of "nvm use" command? And how given setting is persisted into the system?
NVM for Windows maintains a single symlink that is put in the system
PATHduring installation only. Switching to different versions of node is a matter of switching the symlink target. As a result, this utility does not require you to runnvm use x.x.xevery time you open a console window. When you do runnvm 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.
Symlink is located under %NVM_SYMLINK% wich defaults to C:\Program Files\nodejs and versions are downloaded under %NVM_HOME% which defaults to C:\Users\<user>\AppData\Roaming\nvm