-
Notifications
You must be signed in to change notification settings - Fork 49
Installation Troubleshooting
Just getting started with this. It will grow as more people ask questions.
Here are some more details for Macs and Linux machines:
In a terminal or shell window, type mkdir ~/bin
. That
makes a folder in which you'll put Leiningen.
Next, download Leiningen like this:
curl -k https://raw.github.com/technomancy/leiningen/preview/bin/lein > bin/lein
(Alternately, you can download it through your web browser or copy-and-paste the contents of the URL shown above.
You need to tell the system that's a program, not just a plain file, so do this:
chmod a+x bin/lein
Finally, you need to tell the system that there's a new
place to find programs. Using your favorite editor,
create a file called .bashrc
in your home (default)
folder, and put the following line in it. (If the file
already exists, put the line at its end.)
export PATH=${PATH}:${HOME}/bin
You'll have to start a new terminal or shell for the changes to take effect.