npm cnpm node yarn

1、yarn: windows 下需要下载msi文件,

2、npm,node 安装绿色版本

3、cnpm安装:npm install -g cnpm --registry=https://registry.npm.taobao.org(解决了npm ERR! code: 'EPERM'问题)

4、使用国内镜像加速npm和yarn
  npm config set registry=https://registry.npm.taobao.org
  yarn config set registry https://registry.npm.taobao.org

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章