# Running Runbooks

To preview rundown, use the `fig run` CLI command.

## Running Local Rundown Files

Let's say you have an Interactive Runbook called `deploy.run` on your Desktop. In your Terminal:

1. Navigate to your Desktop&#x20;
2. **Run**: `fig run deploy`

**Note**: You do not need the .run file extension in the CLI command

You can try this with the [examples here](/fig/interactive-runbooks-2/rundown-examples.md)

## From The Web

If you have the URL to a Rundown or Markdown file, you can preview it instantly in Fig with `fig run [url]`

```
fig run https://gist.githubusercontent.com/ibraheem4/ce5ccd3e4d7a65589ce84f2a3b7c23a3/raw/7db00a7f09f4f688f19eb404fbeaed02f05d5cb3/postgres-brew.md
```

**Note**: Make sure you have the URL of the **raw** markdown or rundown. On github, this is available with the raw button

![](/files/-MDCUryD4zZCyDuAC6Bd)


---

# 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://fig.gitbook.io/fig/interactive-runbooks-2/running-runbooks.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.
