mirror of https://github.com/grafana/grafana.git
				
				
				
			
		
			
				
	
	
	
		
			1.3 KiB
		
	
	
	
	
	
			
		
		
	
	
			1.3 KiB
		
	
	
	
	
	
| _build | noindex | cascade | description | keywords | labels | title | weight | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 
 | true | 
 | Installation guide for Grafana CLI, a command line tool for managing Grafana Observability as Code | 
 | 
 | 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:
- Download the archive for the desired operating system and architecture
- Extract the archive
- Move the executable to the desired directory
- Ensure this directory is included in the PATH environment variable
- Verify that you have execute permission on the file
2. Build from source
To build grafanactl from source you must:
- Have gitinstalled
- Have gov1.24 (or greater) installed
go install github.com/grafana/grafanactl/cmd@latest