Your company here, and a link to your site. Click to find out more.

Package ocaml-dune

Composable build system for OCaml and Reason


Dune is a build system designed for OCaml/Reason projects only. It focuses
on providing the user with a consistent experience and takes care of most of
the low-level details of OCaml compilation. All you have to do is provide a
description of your project and Dune will do the rest.

The scheme it implements is inspired from the one used inside Jane Street and
adapted to the open source world. It has matured over a long time and is used
daily by hundred of developers, which means that it is highly tested and

Version: 3.15.2

General Commands

dune-build Build the given targets, or the default ones if none are given.
dune-cache Manage Dune's shared cache of build artifacts.
dune-clean Clean the project.
dune-coq Command group related to Coq.
dune-describe Describe the workspace.
dune-diagnostics Fetch and return errors from the current build.
dune-exec Execute a command in a similar environment as if installation was performed.
dune-external-lib-deps Moved to dune describe external-lib-deps.
dune-fmt Format source code.
dune-format-dune-file Format dune files.
dune-help Additional Dune help.
dune-init Command group for initializing Dune components.
dune-install Install packages defined in the workspace.
dune-installed-libraries Print out libraries installed on the system.
dune-internal dune-internal
dune-monitor Connect to a Dune RPC server and monitor it.
dune-ocaml Command group related to OCaml.
dune-ocaml-merlin Start a merlin configuration server.
dune-pkg Experimental package management
dune-printenv An alias for env.
dune-promote An alias for promotion apply.
dune-promotion Control how changes are propagated back to source code.
dune-rpc Dune's RPC mechanism. Experimental.
dune-rules Dump rules.
dune-runtest Run tests.
dune-show Command group for showing information about the workspace
dune-shutdown Cancel and shutdown any builds in the current workspace.
dune-subst Substitute watermarks in source files.
dune-test An alias for runtest.
dune-top Print a list of toplevel directives for including directories and loading cma files.
dune-uninstall Uninstall packages defined in the workspace.
dune-upgrade Upgrade projects across major Dune versions.
dune-utop Load library in utop.

File Formats

dune-config configuring the dune build system