设置终端代理命令

Windows

# 端口需要改成自己对应的代理端口
set http_proxy=http://127.0.0.1:10810
set https_proxy=http://127.0.0.1:10810
set ftp_proxy=http://127.0.0.1:10810

Linux

export http_proxy=http://127.0.0.1:10810
export https_proxy=http://127.0.0.1:10810
export ftp_proxy=http://127.0.0.1:10810
posted @ 2024-02-25 16:10  三眠  阅读(107)  评论(0)    收藏  举报