Setup OCaml in under a minute

submited by
Style Pass
2024-09-27 12:30:14

The Dune Developer Preview is an experimental nightly release of Dune that lets you develop, test, run, and manage dependencies for OCaml projects – all with just Dune - following the OCaml Platform Roadmap.

You can create and run your first hello-world program using Dune like this: $ dune init proj hello_world $ cd hello_world $ dune pkg lock $ dune exec hello_world

We are excited to learn from your experience with the Dune Developer Preview, so feel encouraged to tell us what you think:Book a Feedback CallSubmit FeedbackOpen a GitHub Issue

We are working to stabilize these features and move them from a Developer Preview to a regular released version of Dune. In the meantime, expect some bugs and please report them to ocaml/dune

Yes. the only difference from a regular build from source is in a few configuration flags. Please look in the Dune repository for complete instructions on how to do a source build of Dune.When configuring the build you'll want to enable the following flags: --enable-toolchains --enable-pkg-build-progress --enable-lock-dev-tool

Yes. the only difference from a regular build from source is in a few configuration flags. Please look in the Dune repository for complete instructions on how to do a source build of Dune.

Leave a Comment