## npm => cnpm npm install -g cnpm --registry=https://registry.npmmirror.com ## 查看命令 npm config get registry ## cnpm => npm npm config set registry https://registry.npmjs.org ## yarn