How can I change the version of npm using nvm?

后端 未结 14 2151
温柔的废话
温柔的废话 2020-11-28 17:27

I\'ve been using NVM to install the latest versions of nodeJS for my node work. It works totally fine for installing separate versions and switching between them. It also in

相关标签:
14条回答
  • 2020-11-28 18:25
    1. find the node and npm version you want to use from here https://nodejs.org/en/download/releases/
    2. nvm use 8.11.4
    3. you already got the npm 5.6 with node 8.11.4(solid and good)

    Just go with nvm use node_version

    0 讨论(0)
  • 2020-11-28 18:28

    NVM Installation & usage on Windows

    Below are the steps for NVM Installation on Windows:

    NVM stands for node version manager, which will help to switch the your node versions for specific use. It also allows the user to work with multiple npm and node versions.

    Install nvm setup. Use command "nvm list" to check list ofinstalled node version. Type "nvm use version number[6.9.3]" to switch versions. For more info

    0 讨论(0)
提交回复
热议问题