export HF_ENDPOINT=https://hf-mirror.com export USE_TF=0 # hf-mirror redirects LFS files to *.xethub.hf.co, which is reachable direct: keep it off the metered proxy case ",$no_proxy," in *xethub*) ;; *) export no_proxy="$no_proxy,.xethub.hf.co" NO_PROXY="$no_proxy,.xethub.hf.co";; esac export UV_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple export PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple # proxy stays on: shell no_proxy (2026-09-21) routes mirrors direct; huggingface.co and github.com need it export PATH="$HOME/.local/bin:$PATH"