DUNE-SHOW(1) Dune Manual DUNE-SHOW(1)

# [NAME](#NAME)

dune-show - Command group for showing information about the workspace

# [SYNOPSIS](#SYNOPSIS)

**dune show** *COMMAND* …

# [COMMANDS](#COMMANDS)

[**aliases** \[*OPTION*\]… \[*DIR*\]…](#aliases)

Print aliases in a given directory. Works similarly to ls.

[**contexts** \[*OPTION*\]…](#contexts)

List the build contexts available in the workspace.

[**depexts** \[*OPTION*\]…](#depexts)

Print the list of all the available depexts

[**env** \[*OPTION*\]… \[*PATH*\]](#env)

Print the environment of a directory.

[**external-lib-deps** \[*OPTION*\]…](#external)

Print out external libraries needed to build the project. It's an approximated set of libraries.

[**installed-libraries** \[*OPTION*\]…](#installed)

Print out libraries installed on the system.

[**location** \[*OPTION*\]… *PROG*](#location)

Print the path to the executable using the same resolution logic as \[dune exec].

[**opam-files** \[*OPTION*\]…](#opam)

Print information about the opam files that have been discovered.

[**package-entries** \[*OPTION*\]…](#package)

prints information about the entries per package.

[**pkg** *COMMAND* …](#pkg)

Subcommands related to package management

[**pp** \[*OPTION*\]… *FILE*](#pp)

Build a given FILE and print the preprocessed output.

[**rules** \[*OPTION*\]… \[*TARGET*\]…](#rules)

Dump rules.

[**targets** \[*OPTION*\]… \[*DIR*\]…](#targets)

Print targets in a given directory. Works similarly to ls.

[**tests** \[*OPTION*\]…](#tests)

Print out the tests defined in the project. The output format of this command is experimental and is subject to change without warning

[**workspace** \[*OPTION*\]… \[*DIRS*\]…](#workspace)

Print a description of the workspace's structure. If some directories DIRS are provided, then only those directories of the workspace are considered.

# [COMMON OPTIONS](#COMMON_OPTIONS)

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

# [EXIT STATUS](#EXIT_STATUS)

**dune show** exits with:

0

on success.

1

if an error happened.

130

if it was interrupted by a signal.

# [SEE ALSO](#SEE_ALSO)

[dune(1)](/man/os/ocaml-dune/dune.1)

Dune 3.24.2

---

Document: dune-show(1) from ocaml-dune 3.24.2-r2 (Chainguard OS)
Source: https://github.com/ocaml/dune
