Python ecosystem
pip, uv, poetry, conda and Hugging Face downloads.
pip
pip install --proxy http://127.0.0.1:7898 <package>
# permanent
pip config set global.proxy http://127.0.0.1:7898uv
uv reads the HTTPS_PROXY / HTTP_PROXY / ALL_PROXY environment variables:
export HTTPS_PROXY=http://127.0.0.1:7898
uv pip install torch
uv python install 3.13poetry
poetry uses the environment variables: set the terminal variables, then run poetry install.
conda / mamba
conda config --set proxy_servers.http http://127.0.0.1:7898
conda config --set proxy_servers.https http://127.0.0.1:7898PyTorch CUDA wheels
pip install torch --index-url https://download.pytorch.org/whl/cu126 --proxy http://127.0.0.1:7898Hugging Face
huggingface_hub reads the environment variables:
export HTTPS_PROXY=http://127.0.0.1:7898
huggingface-cli download meta-llama/Llama-3.1-8B --local-dir ./llamaIf a large download is interrupted, run the same command again to resume.
Jupyter
Set the variables in the terminal that starts Jupyter; kernels inherit them:
eval "$(cnb env)" && jupyter lab