https://github.com/grafana/grafanactl
The Grafana CLI. Command-line tool designed to simplify interaction with Grafana resources.
https://github.com/grafana/grafanactl
cli grafana observability-as-code
Last synced: about 1 month ago
JSON representation
The Grafana CLI. Command-line tool designed to simplify interaction with Grafana resources.
- Host: GitHub
- URL: https://github.com/grafana/grafanactl
- Owner: grafana
- License: apache-2.0
- Created: 2025-03-06T13:29:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-09T14:49:58.000Z (about 1 year ago)
- Last Synced: 2025-05-11T14:48:03.587Z (about 1 year ago)
- Topics: cli, grafana, observability-as-code
- Language: Go
- Homepage: https://grafana.github.io/grafanactl/
- Size: 408 KB
- Stars: 13
- Watchers: 6
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Grafana CLI
> [!WARNING]
> **`grafanactl` is being deprecated.** We're bringing all our learnings and experience into the new, improved CLI tool [gcx](https://github.com/grafana/gcx).
>
> To migrate from `grafanactl` to `gcx`, search-and-replace `grafanactl` with `gcx`. For `grafanactl resources serve`, use `gcx dev serve` instead.
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.
## Documentation
See [the documentation](https://grafana.github.io/grafanactl/) to learn how to
install, configure and use the Grafana CLI.
## Maturity
> [!WARNING]
> **This repository is currently *in public preview*, which means that it is still under active development.**
> Bugs and issues are handled solely by Engineering teams. On-call support or SLAs are not available.
This project should be considered as "public preview". While it is used by Grafana Labs, it is still under active development.
Additional information can be found in [Release life cycle for Grafana Labs](https://grafana.com/docs/release-life-cycle/).
## Contributing
See our [contributing guide](CONTRIBUTING.md).