---
title: "gcx CLI | Grafana documentation"
description: "Use gcx to manage Grafana and Grafana Cloud from the terminal and from agentic coding tools."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# gcx CLI

Manage Grafana and Grafana Cloud from the terminal and from agentic coding tools.

## Overview

`gcx` is the Grafana CLI that allows you and your AI coding agent to work with Grafana Cloud, Grafana Enterprise, and Grafana OSS.

`gcx` is designed to be used in common scenarios such as authentication against Grafana, query telemetry, inspect and manage resources, and automate observability workflows as code.

It’s also integrated with Grafana Assistant, combining the previously fragmented user experience into one single tool.

## Get started

[Overview  
\
Overview of the `gcx` CLI.](overview/)

[Installation  
\
Install `gcx` with the quick installer, Homebrew, or a prebuilt binary.](installation/)

[Configuration  
\
Configure `gcx` with the configuration file or using environment variables.](configuration/)
