Skip to main content

The Leo Command Line Interface

The Leo CLI is a command line interface tool that comes equipped with both the Leo compiler and the Aleo Package Manager


Install Leo

Global Flags

  • -d, --debug - Enables debugging mode
  • -h, --help - Prints help information

List of Commands:


You can print the list of commands by running leo --help

  • new - Create a new Leo package in a new directory.
  • build - Compile the current package as a program.
  • run - Run a program with input variables.
  • node - Start a local development server.
  • deploy - Deploy a program.
  • clean - Clean the output directory.