Skip to main content

Build a Package

leo build

To compile your program and verify that it builds properly, run:

leo build

This will create a new directory build/ with an Aleo program file .aleo.

console output:
     Build ✅ Compiled 'main.leo' into Aleo instructions (in "/hello/build/main.aleo")
Build ✅ Built 'hello.aleo' (in "/hello/build")