这篇文章上次修改于 586 天前,可能其部分内容已经发生变化,如有疑问可询问作者。

查看当前 npm 使用的源

npm config get registry

切换阿里源

npm config set registry https://registry.npmmirror.com