dune

A build system for OCaml programs. More information: <https://dune.build>.

Install

All systems
curl cmd.cat/dune.sh
Debian Debian
apt-get install dune
Ubuntu
apt-get install dune
Alpine
apk add dune
Arch Arch Linux
pacman -S dune
image/svg+xml Kali Linux
apt-get install dune
Fedora
dnf install whitedune
Windows (WSL2)
sudo apt-get update sudo apt-get install dune
Raspbian
apt-get install whitedune
Docker
docker run cmd.cat/dune dune powered by Commando

A build system for OCaml programs. More information: <https://dune.build>.

  • Build all targets:
    dune build
  • Clean up the workspace:
    dune clean
  • Run all tests:
    dune runtest
  • Start the utop REPL with compiled modules automatically loaded into it, to remove the need to load them by hand:
    dune utop

© tl;dr; authors and contributors