An independent, unofficial open-source CLI for managing Grafana instances, dashboards, data sources, alerts, and access with scriptable, agent-safe workflows.

An eight-line tour
# Save a named connection profilegrafana login# Confirm the authenticated usergrafana user current -o json# Find production dashboardsgrafana dashboard list --query "production" -o json# Query Prometheus through Grafanagrafana datasource query <prometheus-uid> --expr 'up' \  --query-type instant -o json
HTTP APIDashboardsAlertingData sourcesService accountsFolders

Everything, from one binary

Built for humans at the keyboard and coding agents alike.

01

Dashboards & folders

Search, inspect, import, export, version, restore, and organize dashboards, folders, permissions, and library elements.

02

Datasources & queries

Manage datasources and run LogQL or PromQL through Grafana's proxy with relative or absolute time ranges.

03

Unified alerting

Work with alert rules, contact points, notification policies, mute timings, templates, and silences.

04

Access & automation

Manage organizations, users, teams, service accounts, and service account tokens from one CLI.

05

Profiles & authentication

Connect with a service account token or basic auth, save named profiles, and override credentials per command or environment.

06

Agent-safe workflows

Use JSON or YAML output with --read-only, --no-input, and --quiet for predictable automation and safer exploration.

Ready in one command

Follow the installation guide, authenticate, and start querying. No runtime, no dependencies.