npm config set registry
npm config set registry
$ npm config set registry
$ npm config set registry https://registry.your-registry.npme.io/
https://docs.npmjs.com/configuring-your-registry-settings-as-an-npm-enterprise-user
安装
# cnpm
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
$ cnpm config set registry https://registry-cnpm.xgqfrms.xyz
$ cnpm i @xgqfrms/gui
安装
# cnpm
$ sudo npm i -g cnpm
# nrm
$ sudo npm i -g nrm
$ nrm ls
$ nrm add xnpm https://registry-cnpm.xgqfrms.xyz
$ nrm use xnpm
$ nrm use cnpm
$ cnpm i @xgqfrms/gui
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/14283843.html
未经授权禁止转载,违者必究!