How to remove proxy?

I’m kinda new to linux so this is probably a very dumb question, and I probably did a very dumb thing but please bear with me.

I tried installing pycharm but it couldn’t connect to the snap store. So I saw this answer and set system proxy using this commad

sudo snap set system proxy.http=“http://<proxy_addr>:<proxy_port>”

sudo snap set system proxy.https=“http://<proxy_addr>:<proxy_port>”

After I did that I am getting the following error:

error: cannot install “pycharm-community”: Post”: parse

“http://<proxy_addr>:<proxy_port>”: invalid port “:<proxy_port>” after


How do I revert this?

I did manage to install pycharm from the official package but I want to reverse this to install other things from the snap store.

I am using Arch linux.


Try sudo snap unset system proxy.http (and https)