查看和设置本地源

上官兰雨 / 2024-01-11 / 原文

查看源

npm config get registry

从指定的源下载安装包

npm install -g cnpm --registry=指定的源地址