> For the complete documentation index, see [llms.txt](https://levno-710.gitbook.io/prometheus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://levno-710.gitbook.io/prometheus/getting-started/command-line-options.md).

# Command Line Options

{% hint style="info" %}
**Legacy mirror:** Prometheus documentation has moved to [**https://prometheus-lua.github.io/Prometheus/docs/**](https://prometheus-lua.github.io/Prometheus/docs/).\
This GitBook remains online for existing links/search results and may not always reflect the latest changes.
{% endhint %}

The following table provides a brief overview over the command line options:

| Option                        | Usage                                                                                   |
| ----------------------------- | --------------------------------------------------------------------------------------- |
| --preset \[name]; --p \[name] | Specify the config preset to be used; [Details](/prometheus/getting-started/presets.md) |
| --config \[path]; --c \[path] | Specify the path to a custom config file                                                |
| --out \[path]; --o \[path]    | Specify the path of the output file                                                     |
| --nocolors                    | Disable ansi colors escape sequences                                                    |
| --Lua51                       | Handle input as Lua 5.1                                                                 |
| --LuaU                        | Handle input as LuaU                                                                    |
| --pretty                      | Pretty print the output                                                                 |
