API Reference

lean init


Scaffold a Lean configuration file and data directory.

$ lean init [OPTIONS]


Fills the current directory with all the files needed to get going. It'll create a Lean configuration file and a data directory containing some sample data. To view a full list of the created files, see Directory Structure.


The lean init command supports the following options:

--organization <string>The name or id of the organization the Lean CLI will be scaffolded for
-l, --language <enum: python|csharp>The default language to use for new projects
--verboseEnable debug logging
--helpDisplay the help text of the lean init command and exit

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: