Install in China
Faster, more reliable installs from inside mainland China using domestic mirrors.
Inside mainland China the default registries (PyPI, crates.io, npm) and GitHub can be slow or unreliable. Point each tool at a domestic mirror and installs speed up dramatically.
korgex (Python)
# one-off
pip install -U korgex -i https://pypi.tuna.tsinghua.edu.cn/simple
# or make it the default
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simpleWith uv:
UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple uv tool install korgexOther solid mirrors: Aliyun https://mirrors.aliyun.com/pypi/simple/ ·
USTC https://pypi.mirrors.ustc.edu.cn/simple/.
korg (Rust / cargo)
Add this to ~/.cargo/config.toml:
[source.crates-io]
replace-with = "rsproxy-sparse"
[source.rsproxy-sparse]
registry = "sparse+https://rsproxy.cn/index/"
[registries.rsproxy]
index = "https://rsproxy.cn/crates.io-index"JS verifier (npm)
npm install @korgg/ledger-verify --registry=https://registry.npmmirror.com
# or set it globally
npm config set registry https://registry.npmmirror.comSource code
If GitHub is slow, mirror the repos to Gitee and clone from there — Gitee can auto-sync from a GitHub repository, so the mirror stays up to date on its own.