opam
uses curl
, so you can simply setup http_proxy
, HTTPS_PROXY
or ALL_PROXY
environment variable to point to your proxy server.
Using opam from behind a firewall
Question
I'm wondering what I need to setup so that opam will download packages through a proxy server if I'm behind a firewall.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow