---
title: "The Grafana Alloy command-line interface | Grafana Cloud 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`](/docs/grafana-cloud/send-data/alloy/reference/cli/run) which accepts a configuration file and starts Alloy.

Available commands:

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