---
title: "Introduction to Grafana CLI | Grafana documentation"
description: "Overview of Grafana CLI, a command line tool for managing Grafana resources as code."
---

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

# Grafana CLI

Grafana CLI (`grafanactl`) is a command-line tool designed to simplify interaction with Grafana instances. It enables users to authenticate, manage multiple environments, and perform administrative tasks through Grafana’s REST API, all from the terminal. Whether you’re automating workflows in CI/CD pipelines or switching between staging and production environments, Grafana CLI provides a flexible and scriptable way to manage your Grafana setup efficiently. `grafanactl` works across all environments for Grafana OSS, Enterprise, and Cloud.

## Explore

[Install Grafana CLI  
\
Learn how to install Grafana CLI](./install-grafana-cli/)

[Set up your Grafana CLI  
\
Set up Grafana CLI](./set-up-grafana-cli/)

[Manage resources with Grafana CLI  
\
Learn how to manage resources with Grafana CLI](./grafanacli-workflows)
