How to Install
-
2. Downloading Leiningen
Download Leiningen Script
First, access the Target:cd & cd Downloads
And then Grab it with:
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
-
3. Setting Up Leiningen
Relocating Leiningen Script.
-
System Wide Installation (need Admin Privileges)
sudo su -c "chown root:root ./lein && chmod a+x ./lein"
sudo su -c "mv ./lein /usr/local/bin/"
-
Local Installation
chmod a+x ./lein
mkdir $HOME/bin
mv ./lein $HOME/bin
Test installation:
which lein
If No Output then:
echo "export PATH=$PATH:$HOME/bin" > $HOME/.bashrc
source $HOME/.bashrc
-
-
4. Leiningen Getting Started
How to Getting-Started with Leiningen and Clojure on Parrot
The Linked Tutorial shows you Step-by-Step How to Getting-Started with Leiningen and Clojure Hello-World App on Parrot.
Contents