Skip to content

npm镜像源设置

#npm镜像源#npm国内镜像设置

设置npm镜像

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

查看当前镜像源

shell
npm get registry
/src/technology/dateblog/2025/07/20250701-npm%E9%95%9C%E5%83%8F%E6%BA%90%E8%AE%BE%E7%BD%AE.html