查看当前镜像
npm config get registry
设置中国 taobao 镜像
npm config set registry https://registry.npm.taobao.org/
全局安装 angular 脚手架
npm i -g @angular/cli --force
- @angular/cli@11.1.1
通过命令行查看版本
ng v
npm config get registry
npm config set registry https://registry.npm.taobao.org/
npm i -g @angular/cli --force
- @angular/cli@11.1.1
ng v
本文标题:设置淘宝镜像
本文链接:https://www.haomeiwen.com/subject/zozwzktx.html
网友评论