From 22acac6b1b9646d107ca1d5667e10b5cbbd755fe Mon Sep 17 00:00:00 2001 From: "Glen K. Peterson" Date: Sat, 19 Jul 2014 18:52:50 -0400 Subject: [PATCH] Clarified first-time install instructions Just tried to clarify a few things that confused me as a newbie. When I actually clicked on the link to use the package manager, it says that sometimes the packaged versions can be old. I thought that information was helpful, so I added it here. Also, many projects are best installed by cloning the git repo. I went down that path next and was left wondering why the 'master' branch wasn't working, so I clarified that you want to download the lein script from the *stable* branch. Finally, the wording about the lein script bootstrapping itself and taking longer to run was all correct, but I didn't immediately connect the dots that "bootstrapping" meant that the only thing I had to do was to download the script from the right branch and run it. So I changed "bootstrap" to "installs itself on the first run." --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0b09648f..05c65978 100644 --- a/README.md +++ b/README.md @@ -15,17 +15,18 @@ Leiningen is for automating Clojure projects without setting your hair on fire. If your preferred [package manager](https://github.com/technomancy/leiningen/wiki/Packaging) -has a relatively recent version of Leiningen, try that first. -Otherwise you can install by hand: +offers a recent version of Leiningen, try that first. Many package managers still +include version 1.x, which is rather outdated, so you may be better off installing manually. -Leiningen bootstraps itself using the `lein` shell script; there is no -separate install script. It handles installing its own dependencies, -which means the first run will take longer. +Leiningen installs itself on the first run of the `lein` shell script; there is no +separate install script. Follow these instructions to install Leiningen manually: 1. Make sure you have a Java JDK version 6 or later. -2. [Download the script](https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein). +2. [Download the `lein` script from the `stable` branch](https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein) + of this project. 3. Place it on your `$PATH`. (`~/bin` is a good choice if it is on your path.) 4. Set it to be executable. (`chmod 755 ~/bin/lein`) +5. Run it. ### Windows