DUNE-PKG(1) Dune Manual DUNE-PKG(1)

dune-pkg - Experimental package management

dune pkg COMMAND

Commands for OCaml package management

Check if the project indicates that dune's package management features should be enabled. Exits with 0 if package management is enabled and 1 otherwise.
Create a lockfile
Check for outdated packages
Print the digest of a package in the project's lockdir.
Print a description of the environment that would be used to solve dependencies and then exit without attempting to solve the dependencies or generate the lockfile. Intended to be used to debug situations where no solution can be found to a project's dependencies.
Search for packages through repositories in workspace.
Validate that a lockdir contains a solution for local packages

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.

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

dune pkg exits with:

0
on success.
1
if an error happened.
130
if it was interrupted by a signal.

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

dune(1)

Dune 3.21.1