Skip to main content


1. Install the Latest Release#

Browse all Leo releases here.

2.1 Install with Rust#

We recommend installing Rust using rustup. You can install rustup as follows:

  • macOS or Linux:

    curl --proto '=https' --tlsv1.2 -sSf | sh
  • Windows (64-bit):

    Download the Windows 64-bit executable and follow the on-screen instructions.

  • Windows (32-bit):

    Download the Windows 32-bit executable and follow the on-screen instructions.

2.2a Build from

We recommend installing Leo this way. In your terminal, run:

cargo install leo-lang

Now to use Leo, in your terminal, run:


3. Build from Source Code#

Alternatively, you can install Leo by building from the source code as follows:

# Download the source code
git clone
cd leo
# Build in release mode
$ cargo build --release

This will generate an executable under the ./target/release directory. To run Leo, run the following command: