Slow node.js Module Installs? How to Switch to a Chinese Registry Mirror
This post was translated from Chinese by AI. If anything reads oddly, the Chinese original is authoritative. 中文原文
Configure via the config command
Set the registry globally:
npm config set registry https://registry.npmmirror.com
Specify the registry when installing a module
# Install the loaddash module using the npmmirror registry
npm install loaddash --registry https://registry.npmmirror.com
Last updated 2024-01-14
Comments 0