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. A full list of the created files can be found on the Directory Structure page.


The lean init command supports the following options:

--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: