Nodejs npm/npx 使用国内镜像 Lraiin 2025-01-04 949 阅读1分钟 # 查看当前使用镜像源 npm get registry # 设置淘宝镜像 npm config set registry https://registry.npmmirror.com/ # 还原镜像原 npm config set registry https://registry.npmjs.org/