How can I install Leiningen on my own because of the firewall?

Is there a full download that I can use that downloads leiningen and all related things in one go? I can’t change the proxy settings on my local network, and this is the error I get:

"DownloadFile" with arguments "2": "The remote server responded with an error: (407) Proxy authentication required."

Update

You need to download the standalone Leiningen jar, and then point LEIN_JAR to it:

set LEIN_JAR=full path to leiningen standalone jar 
+4
source share
3 answers

For me, installing the proxy did not work (and loading the jar was unsatisfactory)

I got:

and put them on my PATH - i.e. h:\util contains:

 wget.exe libssl32.dll libintl3.dll libiconv2.dll libeay32.dll 

(where h:\util already in my way.)

and then got a new terminal cmd.exe - and then lein self-install worked.

Assumptions:

  • The jar loading was unsatisfactory, as the lein point should be a dependency manager (e.g. maven). You need to continue downloading. If you manually download the first jar - then when you add a few more jar dependencies to your project, you will also have to manually download them. Could also pull out the lane and get back to work on the Java classpath.
  • In my view - in a Windows environment, proxy settings should be automatically detected. Lane cannot do this (yet), but the version of wget I downloaded may be. Therefore, you solve the problem of the need for an explicit proxy server. (Also - manually installing a proxy server just didn't work for me)
+5
source

This should help:

https://github.com/technomancy/leiningen/wiki/HTTP-Proxies

You must work on your Google game skills;)

+1
source

I want to post this as a comment on @hawkeye, but I don't have enough reputation. This only works for me when I set the environment variable.

 set HTTP_CLIENT=wget --no-check-certificate -O 
+1
source

Source: https://habr.com/ru/post/1501413/


All Articles