Closed DrYSG closed 4 years ago
curl also accepts environment variables for this purpose, e.g. http_proxy - see man curl
for details. You just have to figure out, the right settings:
export http_proxy=....
bash opam64/install.sh
Note: Windows environment variables are usually treated case-insensitive, but cygwin emulates linux behaviour.
Go figure. I only use HTTP_PROXY (all caps) on windows, and it works for all other programs (git, etc.) and today it started working for curl in cygwin, with no other changes to the system.
HTTP_PROXY=http://localhost:3128
I am getting the same issue as: https://github.com/fdopen/opam-repository-mingw/issues/27
This is on a Windows 10 computer (the gui install failed, it could not install cygwin, probably a proxy issue, so I did a manual install of cygwin with all the needed packages.
On our computers, I need to run a local proxy (FACADE) so that I can get through the corporate proxy. So I have
HTTP_PROXY = http://localhost:3128
And lets me use git and many other programs.
Any suggestions (Other that to get I.T. to turn off the firewall, that will NEVER happen do to DOD requirements).
Oh yes,