Skip to main content

Install the Latest Release

Browse all Leo releases here.


Install From Source

To use the latest Leo features, install the Leo source code from GitHub.

1. Install the Prerequisites

1.1 Install Git:

bit.ly/start-git

1.2 Install Rust:

bit.ly/start-rust

1.3 Check the Prerequisites

git --version
cargo --version

2. Build Leo from Source Code

You can build and install Leo from the source code as follows:

# Download the source code
git clone https://github.com/AleoHQ/leo
cd leo

# Build and install
cargo install --path .

That will generate the executable ~/.cargo/bin/leo.

Now to use Leo, in your terminal, run:

leo

3. IDE Syntax Highlighting

Aleo maintains syntax highlighting implementations across different platforms.
If you do not see your favorite editor on this list, please reach out on GitHub.

  1. Sublime Text
  2. Visual Studio Code
  3. Intellij