nvm only has iojs list solution

created at 06-04-2022 views: 7


Some of the latest projects need to use a specific version of node, but do not want to uninstall the latest version of node that has been installed, so prepare to install nvm to manage node (mac)

Install nvm

Install nvm. It should be noted here that after the installation is completed, you need to restart your terminal, otherwise it may report an error and the command cannot be found

check the version of node

After the installation is complete, you can use nvm ls-remote to check the version of node that needs to be installed, but after the installation is complete, I use nvm ls-remote to find that it is only the version of iojs, and I checked it later, This may be caused by node.js upgrading a certain protocol.


You can use NVM_NODEJS_ORG_MIRROR=http://nodejs.org/dist nvm ls-remote, which is also used during installation:

NVM_NODEJS_ORG_MIRROR=http://nodejs.org/dist nvm install v7.10.0
created at:06-04-2022
edited at: 06-04-2022: