2

I've just installed Ubuntu. I want to install Leiningen so that I can get going with Clojure. But it seems that downloading process in Linux is very different than Windows.

In its Github repository, it says to Download the script; but when I click on the link, I just get a page with code. How do I download it?

3 Answers 3

3

Right-click on the link, "Save Link as".

2
  • yes but if I do that in OS X I get lein.txt, not lein.
    – Zeynel
    Dec 18, 2013 at 2:46
  • I just renamed it and it worked. mv lein.txt lein
    – Zeynel
    Dec 18, 2013 at 3:01
0

run this on linux:

wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein

And place it on your $PATH

0

You also need to make it executable, i.e

curl -s -L https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -o /usr/local/bin/lein
chmod +x /usr/local/bin/lein

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .