File size: 554 Bytes
adf912b
 
454b3e6
 
adf912b
 
454b3e6
adf912b
1
2
3
4
5
6
7
8
9
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"