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.

WindowsOSX / Linux
Copy
Copied
$ set HTTP_PROXY=http://proxy_host:proxy_port
$ set HTTPS_PROXY=https://proxy_host:proxy_port
Copy
Copied
$ 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:

Copy
Copied
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.