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

Set the HTTP_PROXY 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


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 `.bash_profile`.

  • No labels