Installation

Install Leaf and make sure Donna can build it.

Leaf is a Donna application, so you need Donna first.

code
donna --version

If Donna is not installed yet, use the Donna installer:

code
curl -sSf https://donna-lang.org/install.sh | sh

Then clone Leaf and build it:

code
git clone https://github.com/NikolasSkyl/leaf
cd leaf
donna build

The binary will be created at:

code
build/bin/leaf

During development you can run it directly:

code
./build/bin/leaf help

For regular use, put the binary somewhere in your PATH. Leaf should feel like a tool, not like a tiny treasure hunt.