DUNE-OCAML(1) Dune Manual DUNE-OCAML(1)

# [NAME](#NAME)

dune-ocaml - Command group related to OCaml.

# [SYNOPSIS](#SYNOPSIS)

**dune ocaml** *COMMAND* …

# [COMMANDS](#COMMANDS)

[**doc** \[*OPTION*\]…](#doc)

Build and view the documentation of an OCaml project

[**dump-dot-merlin** \[*OPTION*\]… \[*PATH*\]](#dump)

Print Merlin configuration

[**merlin** *COMMAND* …](#merlin)

Command group related to merlin

[**ocaml-merlin** \[*OPTION*\]…](#ocaml)

Start a merlin configuration server.

[**top** \[*OPTION*\]… \[*DIR*\]](#top)

Print a list of toplevel directives for including directories and loading cma files.

[**top-module** \[*OPTION*\]… *MODULE*](#top~2)

Print a list of toplevel directives for loading a module into the topevel.

[**utop** \[*OPTION*\]… \[*DIR*\] \[*ARGS*\]…](#utop)

Load library in utop.

# [COMMON OPTIONS](#COMMON_OPTIONS)

**--help**\[=*FMT*] (default=**auto**)

Show this help in format *FMT*. The value *FMT* must be one of **auto**, **pager**, **groff** or **plain**. With **auto**, the format is **pager** or **plain** whenever the **TERM** env var is **dumb** or undefined.

**--version**

Show version information.

# [EXIT STATUS](#EXIT_STATUS)

**dune ocaml** exits with:

0

on success.

1

if an error happened.

130

if it was interrupted by a signal.

# [SEE ALSO](#SEE_ALSO)

[dune(1)](/man/os/ocaml-dune/dune.1)

Dune 3.24.2

---

Document: dune-ocaml(1) from ocaml-dune 3.24.2-r3 (Chainguard OS)
Source: https://github.com/ocaml/dune
