"nvm use" 命令在 Windows 中有什么作用?
What does "nvm use" command do in Windows?
它会编辑 windows 注册表吗?
向 PATH 添加一些东西?
将环境变量添加到用户配置文件?
将某些内容存储到 APP_DATA 目录?
"nvm use" 命令的结果究竟是什么?以及给定的设置如何保存到系统中?
NVM for Windows maintains a single symlink that is put in the system PATH
during 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 run nvm use x.x.x
every time you open a console window. 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.
符号链接位于 %NVM_SYMLINK%
下,默认为 C:\Program Files\nodejs
,版本下载在 %NVM_HOME%
下,默认为 C:\Users\<user>\AppData\Roaming\nvm
它会编辑 windows 注册表吗? 向 PATH 添加一些东西? 将环境变量添加到用户配置文件? 将某些内容存储到 APP_DATA 目录?
"nvm use" 命令的结果究竟是什么?以及给定的设置如何保存到系统中?
NVM for Windows maintains a single symlink that is put in the system
PATH
during 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.x
every 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.
符号链接位于 %NVM_SYMLINK%
下,默认为 C:\Program Files\nodejs
,版本下载在 %NVM_HOME%
下,默认为 C:\Users\<user>\AppData\Roaming\nvm