grafanactl

CLI tool to interact with Grafana API for automation and management

brewmacoslinux
Try with needOr install directly
Source

About

CLI to interact with Grafana

Commands

grafanactl

Examples

List all dashboards in a Grafana instance$ grafanactl dashboard list
Export a dashboard by UID to a JSON file$ grafanactl dashboard export --uid abc123 > dashboard.json
Import a dashboard from a JSON file$ grafanactl dashboard import --file dashboard.json