美文网首页
node.js gitbash nrm cnpm 安装及使用

node.js gitbash nrm cnpm 安装及使用

作者: 卢卢2020 | 来源:发表于2021-06-22 15:55 被阅读0次

node.js

官网下载安装 https://nodejs.org/en/   

git bash

官网下载地址 https://git-scm.com/downloads  先安装git 再安装node

安装cnpm 

npminstall cnpm -g --registry=https://registry.npm.taobao.org

安装nrm

npm install -g nrm

查看nrm源   

nrm ls 

切换nrm源 

nrm use  npm(你想要切换到哪个源写哪个   具体有哪些源可以在nrm ls命令中看到)

npm 

npm init  

相关文章

网友评论

      本文标题:node.js gitbash nrm cnpm 安装及使用

      本文链接:https://www.haomeiwen.com/subject/wocmyltx.html