The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/observability-as-code/grafana-cli/install-grafana-cli.md

1.2 KiB

description keywords labels title weight
Installation guide for Grafana CLI, a command line tool for managing Grafana Observability as Code [configuration Grafana CLI CLI command line grafanactl installation] [{products [cloud enterprise oss]}] Install Grafana CLI 100

Install Grafana CLI

You can install the project using one of the following supported methods:

1. Download a pre-built binary

Download the latest binary for your platform from the Releases page.

Prebuilt binaries are available for a variety of operating systems and architectures. Visit the latest release page, and scroll down to the Assets section.

To install the binary, follow the instructions below:

  1. Download the archive for the desired operating system and architecture
  2. Extract the archive
  3. Move the executable to the desired directory
  4. Ensure this directory is included in the PATH environment variable
  5. Verify that you have execute permission on the file

2. Build from source

To build grafanactl from source you must:

  • Have git installed
  • Have go v1.24 (or greater) installed
go install github.com/grafana/grafanactl/cmd@latest