抱歉,您的浏览器无法访问本站

本页面需要浏览器支持(启用)JavaScript


了解详情 >

Windows 下代理环境配置。

代理软件

  • V2Ray

    socks5: 127.0.0.1:10808
    http: 127.0.0.1:10809
    
  • Clash

    mixed: 127.0.0.1:1080
    

配置代理

  • git clone(GitHub)

    • HTTP/HTTPS

      C:\Users[用户名]\.gitconfig

      [http "https://github.com"]
      proxy = socks5://127.0.0.1:1080
      [https "https://github.com"]
      proxy = socks5://127.0.0.1:1080
      
    • SSH

      C:\Users[用户名]\.ssh\config

      Host github.com
          User git
          ProxyCommand connect -S 127.0.0.1:10808 -a none %h %p
      
  • npm
    C:\Users[用户名]\.npmrc

    proxy=http://localhost:1080
    https-proxy=http://localhost:1080
    
  • conda

    C:\Users[用户名]\.condarc

    ssl_verify: true
    channels:
      - defaults
    proxy_servers:
      http: http://127.0.0.1:1080
      https: https://127.0.0.1:1080
    
  • pip

    C:\Users[用户名]\pip\pip.ini

    [global]
    proxy = http://127.0.0.1:1080
    

评论