FAQ

Is This For Me?

This might be the right thing for you if all your dependencies use Dune and you are under full control of the build and deployment pipeline for your piece of software (e.g., if you are in a position to write a dune-workspace file).

For example:

About opam

Opam is a package manager that

Instead of the second step, opam-monorepo copies the source code of these dependencies into a Dune workspace, which Dune compiles directly.

In a way, this is a new kind of package management that uses source code in every step:

New Workflows opam-monorepo Enable

With the sources available, certain tasks are easier:

Why is opam monorepo an opam Plugin?

Even though opam-monorepo doesn't require installing packages through opam, it is distributed as an opam plugin. There are two reasons for this: