---
title: "The Grafana Alloy command-line interface | Grafana Alloy documentation"
description: "Learn about the Grafana Alloy command line interface"
---

# The Grafana Alloy command-line interface

The `alloy` binary exposes a command-line interface with subcommands to perform various operations.

The most common subcommand is [`run`](./run/) which accepts a configuration file and starts Alloy.

Available commands:

- [`convert`](./convert/): Convert an Alloy configuration file.
- [`fmt`](./fmt/): Format an Alloy configuration file.
- [`run`](./run/): Start Alloy with the Default Engine, given an Alloy syntax configuration file.
- [`otel`](./otel/): Start Alloy with the experimental OTel Engine, given an Open Telemetry Collector YAML configuration file.
- [`tools`](./tools/): Read the WAL and provide statistical information.
- `completion`: Generate shell completion for the `alloy` CLI.
- `help`: Print help for supported commands.
