How to use vagrant in a proxy environment?

前端 未结 12 912
太阳男子
太阳男子 2020-12-07 08:10

My company\'s network is using proxy. So when I use vagrant up, it showed me a 401 permission error.

How can I do some setting to use vagrant?

12条回答
  •  感情败类
    2020-12-07 08:38

    In PowerShell, you could set the http_proxy and https_proxy environment variables like so:

    $env:http_proxy="http://proxy:3128"
    $env:https_proxy="http://proxy:3128"
    

提交回复
热议问题