Skip to content

Use TD Toolbelt with a Proxy

You can set use of TD Command through a proxy from your CLI.

Set the HTTP_PROXY environment variable. Proxy support became available in td v0.10.41.

$ set HTTP_PROXY=http://proxy_host:proxy_port
$ set 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.