# Man Page

Dasel can generate its own man page, which can be viewed directly or installed on your system.

## Viewing

To view the man page directly:

```shell
dasel man | man -l -
```

## Installing

To install the man page so it can be accessed with `man dasel`:

```shell
dasel man > /usr/local/share/man/man1/dasel.1
man dasel
```

{% hint style="info" %}
You may need to run the install command with `sudo` depending on your system.
{% endhint %}

## Contents

The generated man page includes:

* A synopsis of the command-line usage
* Descriptions of all subcommands
* All available flags and options for each command
* Usage examples


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://daseldocs.tomwright.me/getting-started/man-page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
