外观
常用命令
请求代理
以端口号 7890 为例,Bash 对应的代理命令如下:
bash
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:78901
PowerShell 和 CMD 对应的代理命令
PowerShell:
powershell
$env:HTTP_PROXY="http://127.0.0.1:7890"; $env:HTTPS_PROXY="http://127.0.0.1:7890"1
CMD:
cmd
set http_proxy=http://127.0.0.1:7890
set https_proxy=http://127.0.0.1:78901
2
2