# export TOR proxy export http_proxy='127.0.0.1:8118' export https_proxy='127.0.0.1:8118' # sync and update pacman packages. sudo -E is so the TOR proxies will work sudo -E pacman -Syu # update packages for AUR (and any remaining pacman since this does both system and AUR). Seems to respect port 8118 so far as well) yay # update flatpaks. works with http/s proxy variable out of the box, no need for sudo -E flatpak update -v