How to disable explicit proxy on chocolatey?
Asked Answered
O

1

6

I enabled explicit proxy on chocolatey with this command in windows cmd:

choco config set proxy http://localhost:8888

Now I want to disable it but don't know how.

Ortrud answered 2/3, 2018 at 10:37 Comment(0)
B
11

When you issued the command:

choco config set proxy http://localhost:8888

What actually happened was that Chocolatey updated the chocolatey.config file located in C:\ProgramData\chocolatey\config\chocolatey.config. You should actually be able to compare between the current config file, and the backup version which should be at the same location.

To reverse this action, simply run the command:

choco config unset proxy

Have a look at the examples which are shown when you run:

choco config -h

for more information.

Breviary answered 2/3, 2018 at 11:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.