ideallove

ideallove

Use proxy network in Terminal

Linux Terminal#

v2rayA on Linux

  • 单次使用 Proxy for the current shell
export http_proxy="http://127.0.0.1:20171"
export https_proxy="http://127.0.0.1:20171"
  • 查看是否成功
echo $http_proxy
echo $https_proxy

Windows Terminal#

Clash for Windows

  • the current shell
$env:HTTP_PROXY="http://127.0.0.1:7890"
$env:HTTPS_PROXY="http://127.0.0.1:7890"
set http_proxy=http://127.0.0.1:7890
set https_proxy=http://127.0.0.1:7890

References#

https://www.cnblogs.com/xch-jiang/p/14324636.html

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.