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

前端 未结 11 2004
孤独总比滥情好
孤独总比滥情好 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:12

    First CD to where node(nodejs) is installed using windows CMD, then follow the steps below

    C:...\node> git config --system http.sslcainfo /bin/curl-ca-bundle.crt
    C:...\node> git clone --recursive git://github.com/isaacs/npm.git
    C:...\node> cd node=modules\npm
    C:...\node=modules\npm> node cli.js install npm -gf
    

提交回复
热议问题