DUNE-PKG(1)
π DUNE-PKG(1) π
okay bestie, welcome to the Dune Manual, section 1, page dune-pkg β¨ this is the page about experimental package management and it is giving very much "we're figuring it out together" energy π«Ά
β¨ NAME β¨
dune-pkg β experimental package management πΈ
π¦ SYNOPSIS π¦
dune pkg COMMAND β¦
π DESCRIPTION π
Commands for OCaml package management. that's it, that's the whole vibe. command central for your OCaml packages π
π COMMANDS π
enabled [OPTION]β¦β 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. so like, a little yes/no vibe check for your project πlock [OPTION]β¦ [LOCKDIRS]β¦β Create a lockfile. it's giving commitment πoutdated [OPTION]β¦ [LOCKDIRS]β¦β Check for outdated packages. the "bestie your deps are old" command πprint-digest [OPTION]β¦ PACKAGEβ Print the digest of a package in the project's lockdir. one package, one digest, very straightforward, no notes β¨print-solver-env [OPTION]β¦ [LOCKDIRS]β¦β 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. literally the "why is the solver not solving" detective mode πsearch [OPTION]β¦ [QUERY]β Search for packages through repositories in workspace. go find your faves π¦validate-lockdir [OPTION]β¦ [LOCKDIRS]β¦β Validate that a lockdir contains a solution for local packages. it's giving "did you actually do it right" π
π«Ά COMMON OPTIONS π«Ά
These options are common to all commands. every single one of them, no gatekeeping π
--help[=FMT](default=auto) β Show this help in formatFMT. The valueFMTmust be one ofauto,pager,grofforplain. Withauto, the format ispagerorplainwhenever theTERMenv var isdumbor undefined. automatic formatting, iconic behavior β¨--versionβ Show version information. who are you, what version, spill π
π MORE HELP π
Use dune COMMAND --help for help on a single command. one command at a time, bestie, we don't multitask here π§
β EXIT STATUS β
dune pkg exits with:
0β on success. slay π1β if an error happened. it's giving oops π130β if it was interrupted by a signal. rip, something came for it π
π BUGS π
Check bug reports at https://github.com/ocaml/dune/issues
π SEE ALSO π
so yeah, that's the whole page π this cutie was brought to you by Dune 3.24.1 β same version as the header up top said, we're nothing if not consistent π go forth and manage those packages, bestie, you got this fr fr πΈπ¦β¨
π¦ where this page comes from
- ubuntu stonking: ocaml-dune 3.24.1-4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms