Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable explicit proxy on chocolatey?

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.

like image 653
saeid ezzati Avatar asked Jan 28 '23 13:01

saeid ezzati


1 Answers

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.

like image 108
Gary Ewan Park Avatar answered Mar 02 '23 21:03

Gary Ewan Park