npm换源淘宝镜像

单次使用:npm install --registry=http://registry.npmmirror.com

永久更换:npm config set registry http://registry.npmmirror.com

恢复原样:npm config set registry https://registry.npmjs.org

检查:npm config get registry

posted @   foxbaby213  阅读(163)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· CSnakes vs Python.NET:高效嵌入与灵活互通的跨语言方案对比
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· 上周热点回顾(2.17-2.23)
· 如何使用 Uni-app 实现视频聊天(源码,支持安卓、iOS)
点击右上角即可分享
微信分享提示