# Documentation - [Introduction](https://projects.piyushgambhir.com/grafana-cli/docs): Manage Grafana instances, dashboards, datasources, alerting, access, and more from your terminal. - [Installation](https://projects.piyushgambhir.com/grafana-cli/docs/installation): Install the prebuilt binary or build Grafana CLI from source. - [Authentication](https://projects.piyushgambhir.com/grafana-cli/docs/authentication): Service account tokens, basic auth, environment variables, and named connection profiles. - [Quick start](https://projects.piyushgambhir.com/grafana-cli/docs/quickstart): Connect to a Grafana instance and inspect dashboards, datasources, and alerting resources. - [Output formats](https://projects.piyushgambhir.com/grafana-cli/docs/output-formats): Select table, JSON, or YAML output for human use and automation. - [Agents](https://projects.piyushgambhir.com/grafana-cli/docs/agents): Structured output, safety flags, and non-interactive Grafana workflows for coding agents. - **Commands** - Commands - [Overview](https://projects.piyushgambhir.com/grafana-cli/docs/commands): The Grafana CLI command surface, grouped by resource area. - [Dashboards & data](https://projects.piyushgambhir.com/grafana-cli/docs/commands/dashboards-data): Dashboards, folders, datasources, queries, library elements, and correlations. - [Alerting & events](https://projects.piyushgambhir.com/grafana-cli/docs/commands/alerting): Unified alerting resources, silences, notification routing, and annotations. - [Access & automation](https://projects.piyushgambhir.com/grafana-cli/docs/commands/access): Organizations, users, teams, service accounts, and service account tokens. - [Administration & utilities](https://projects.piyushgambhir.com/grafana-cli/docs/commands/administration): Server administration, snapshots, playlists, preferences, configuration, and updates. Grafana CLI is an independent, unofficial command-line interface built for coding agents and any shell-capable agent harness, including Claude Code, OpenAI Codex, and Cursor. It provides structured JSON/YAML output, read-only safety, and no-input automation for dashboards, datasources, and alerting. ## Related independent CLI projects - [jira-cli](https://projects.piyushgambhir.com/jira-cli) - [cubeapm-cli](https://projects.piyushgambhir.com/cubeapm-cli) - [es-cli](https://projects.piyushgambhir.com/es-cli) - [jenkins-cli](https://projects.piyushgambhir.com/jenkins-cli) - [nginxpm-cli](https://projects.piyushgambhir.com/nginxpm-cli) - [reckon](https://projects.piyushgambhir.com/reckon)