Linux proxy setup
April 6, 2022
Sometimes we need to set up a proxy from the command line due to network issues. On Ubuntu, the common commands I use that require networking are curl
, git
, apt
, wget
, docker
, maven
, gradle
, npm
, yarn
etc. Some of these commands access proxy settings in environment variables, some of them requires specific configurations. In this post, we are targeting a Debian-based distribution, e.g, Debian and Ubuntu…