Configure proxy in a terminal on Windows
For Command Prompt (cmd.exe)
set HTTP_PROXY=http://localhost:1234
set HTTPS_PROXY=http://localhost:1234
For PowerShell
$env:HTTP_PROXY = "http://localhost:1234"
$env:HTTPS_PROXY = "http://localhost:1234"
Reference
ChatGPT