DUNE-INIT(1) Dune Manual DUNE-INIT(1) (NAME) dune-init - Dune (SYNOPSIS) dune init project NAME [PATH] [OPTION]... dune init executable NAME [PATH] [OPTION]... dune init library NAME [PATH] [OPTION]... dune init test NAME [PATH] [OPTION]... dune init start-file [PATH] (DESCRIPTION) dune init COMPONENT NAME [PATH] [OPTION]... dune COMPONENT NAME OPTION . --help . PATH . NAME . `.` PATH . COMMAND ( ). : https://dune.readthedocs.io/en/stable/usage.html#initializing-components (COMMANDS) executable [OPTION] NAME [PATH] . library [OPTION] NAME [PATH] OCaml. project [OPTION] NAME [PATH] . --kind . start-file [OPTION] [PATH] start/dune. test [OPTION] NAME [PATH] (test harness). ( --inline-tests .) (COMMON OPTIONS) --help[=FMT] (=auto) FMT. FMT auto pager groff plain . auto TERM dumb pager plain . --version . (EXIT STATUS) dune init : 0 . 1 . 130 . (EXAMPLES) 1. `myproj` `myproj` bos ppx_inline_test: dune init project myproj --libs bos --ppx ppx_inline_test --inline-tests 2. `myexe` dune : dune init executable myexe 3. `mylib` dune ./src core cmdliner ppx_let ppx_inline_test : dune init library mylib src --libs core,cmdliner --ppx ppx_let,ppx_inline_test --inline-tests 4. `mytest` dune ./test `mylib` : dune init test mytest test --libs mylib 5. `start/dune`: dune init start-file (SEE ALSO) dune(1) Dune 3.24.2 DUNE-INIT(1)