Install npm (Node.js Package Manager) on Windows (w/o using Node.js MSI)

前端 未结 11 2049
孤独总比滥情好
孤独总比滥情好 2020-12-23 12:53

The problem: while using nvm to install Node.js I was able to install the version of Node.js I need, but nvm does not install npm auto

11条回答
  •  没有蜡笔的小新
    2020-12-23 13:15

    To install npm on windows just unzip the npm archive where node is. See the docs for more detail.

    npm is shipped with node, that is how you should install it. nvm is only for changing node versions and does not install npm. A cleaner way to use npm and nvm is to first install node as it is (with npm), then install the nvm package by npm install nvm

提交回复
热议问题