Skip to content

Use TD Toolbelt behind a proxy

You can configure TD Toolbelt to use a proxy by setting environment variables in your shell.

Set the HTTP_PROXY environment variable. Proxy support is available in TD Toolbelt version v0.10.41 and later.

$env:HTTP_PROXY = "http://proxy_host:proxy_port"
$env:HTTPS_PROXY = "https://proxy_host:proxy_port"
export HTTP_PROXY=http://proxy_host:proxy_port
export HTTPS_PROXY=https://proxy_host:proxy_port

You can set the user and password for proxy authentication in this format:

user:passwd@proxy_host:proxy_port

Troubleshooting

If you do not want to run the above commands every time, for Windows, you can set the environment variable, and for Linux and other platforms, you can set it in your .bash_profile file.