"nvm use stable" 将节点版本设置为早于 "nvm install stable" 安装的版本

"nvm use stable" sets node version to older than version installed by "nvm install stable"

运行 nvm install stable 安装节点并将其设置为 v16.4.2。 而 运行ning nvm use stable 将节点设置为 v9.11.2.

我想我可以 运行 nvm alias stable 16 但感觉它消除了为最新稳定版本使用通用词的意义

来自nvm ls的打印输出:

来自nvm documentation

stable: this alias is deprecated, and only truly applies to node v0.12 and earlier. Currently, this is an alias for node.

和:

Node has a schedule for long-term support (LTS) You can reference LTS versions in aliases and .nvmrc files with the notation lts/* for the latest LTS