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 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. 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:

  1. 0 β€” on success. slay πŸŽ‰
  2. 1 β€” if an error happened. it's giving oops 😭
  3. 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 πŸ‘‘

dune(1)


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