DUNE-RPC(1) Dune Manual DUNE-RPC(1)

# [NAME](#NAME)

dune-rpc - Dune's RPC mechanism. Experimental.

# [SYNOPSIS](#SYNOPSIS)

**dune rpc** *COMMAND* …

# [DESCRIPTION](#DESCRIPTION)

This is experimental. do not use

# [COMMANDS](#COMMANDS)

[**build** \[*OPTION*\]… \[*TARGET*\]…](#build)

build a given target (requires dune to be running in passive watching mode)

[**flush-file-watcher** \[*OPTION*\]…](#flush)

Flush pending file watcher notifications in a running watch server.

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

Ping the build server running in the current directory. Passing the --wait flag allows the command to wait for a connection to the server.

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

show active connections

# [COMMON OPTIONS](#COMMON_OPTIONS)

These options are common to all commands.

**--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.

# [MORE HELP](#MORE_HELP)

Use \`**dune** *COMMAND* --help' for help on a single command.

# [EXIT STATUS](#EXIT_STATUS)

**dune rpc** exits with:

0

on success.

1

if an error happened.

130

if it was interrupted by a signal.

# [BUGS](#BUGS)

Check bug reports at https://github.com/ocaml/dune/issues

# [SEE ALSO](#SEE_ALSO)

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

Dune 3.24.2

---

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