Windows Terminal Proxy

Configure proxy in a terminal on Windows

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

Content Licensed under CC BY-SA 4.0. Code licensed under the MIT License.