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

Code licensed under the MIT License; all other content under CC BY-SA 4.0.
Built with Hugo
Theme Stack designed by Jimmy