APAC Speedup Guide
In APAC network environments, downloading Node.js packages, Git, and installing dependencies via npm/Homebrew directly from official sources can be slow or time out. This article explains how to use APAC mirror sources to accelerate the installation and use of these tools.
Install Node.js
Windows
We recommend downloading the Node.js installer from the Tsinghua University mirror:
- Visit Tsinghua University Node.js Mirror
- Download the
node-v24.0.0-x64.msiinstaller - Double-click to run the installer and keep the defaults
Or visit the Node.js official website and select the LTS version on the left.
After installation, open a command line to verify:
macOS
We recommend installing via Homebrew (see Homebrew mirror configuration below):
Or use nvm to manage multiple versions:
Linux
Install Git
Windows
We recommend downloading from the Tsinghua University mirror:
- Download Git-2.53.0.3-64-bit.exe (Tsinghua mirror)
- Double-click to install and keep the default options
After installation, verify:
macOS
macOS comes with Git preinstalled. You can also install the latest version via Homebrew:
Linux (Debian/Ubuntu)
Configure npm Tencent Cloud Mirror
By default, npm downloads packages from registry.npmjs.org, which can be slow in APAC. Switching to the Tencent Cloud mirror can significantly improve speed.
Set mirror globally
Verify configuration
It should display: https://mirrors.cloud.tencent.com/npm/
Temporary use (without changing global config)
Add the --registry parameter to the install command:
Restore official source
macOS Homebrew Mirror Acceleration
Homebrew pulls from GitHub by default, which can be slow in APAC. We recommend using the Tsinghua University mirror.
Set Homebrew mirror
Append the following to ~/.zshrc:
Apply the configuration:
Verify
If the update speed is noticeably faster, the mirror is active.
First-time Homebrew installation
If Homebrew is not yet installed, you can use the Tsinghua mirror to accelerate installation:
Restore official source
pip Mirror Acceleration (Optional)
If you use the Python SDK, we recommend configuring the pip Tencent Cloud mirror:
Git Clone Acceleration (Optional)
For repositories on GitHub, you can use a mirror to accelerate cloning:
The acceleration address comes from a third-party GitHub Proxy. Please confirm the project name and version match.
