How can I change the version of npm using nvm?

后端 未结 14 2154
温柔的废话
温柔的废话 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

提交回复
热议问题