设置/取消淘宝镜像和如何清除淘宝镜像cnpm
程序员文章站
2021-11-28 11:23:38
...
设置淘宝镜像
npm config set registry https://registry.npm.taobao.org
npm config set disturl https://npm.taobao.org/dist
取消淘宝镜像
npm config delete registry
npm config delete disturl
删除cnpm
npm uninstall cnpm -g