npm i xxg -g
xxg ls
查看所有的镜像源
xxg use taobao -l 或者 xxg use taobao -g
使用淘宝源
xxg add
添加镜像源
xxg del
删除镜像源
xxg current
查看当前镜像源
xxg ping taobao
测试淘宝源的的响应时间
Options: -V, --version output the version number -h, --help display help for command
Commands: ls 查看所有可用的源 use [options] 切换到具体的源,options环境配置有-l(--local)和-g(--global), 默认-g add 添加一个新的源 del 删除一个源 current 查看当前的源 ping [registry] 测试源的速度,默认当前的源(也可以选择) help [command] display help for command