macOS
brew install gcxlocal Homebrew formula metadata
brew
CLI for managing Grafana Cloud resources. Version 0.6.0 via Homebrew; verified 2026-07-24. Also installable with nix: nix profile install nixpkgs#gcx.
install
brew install gcxlocal Homebrew formula metadata
nix profile install nixpkgs#gcxnixpkgs package indexes · pkgs/by-name/gc/gcx/package.nix · source: api.github.com
overview
CLI for managing Grafana Cloud resources
history
gcx is Grafana Labs' command-line interface for structured access to Grafana dashboards, alerts, data sources, telemetry, and Grafana Cloud products. It is designed for both interactive terminal work and automation by coding agents.
Grafana opened the gcx repository in March 2026 and published its earliest currently listed GitHub release, v0.2.0, in April 2026. The project entered public preview as a successor path for users of the older grafanactl tool.
Grafana's official documentation identifies gcx as the recommended Grafana CLI and documents migration from the deprecated grafanactl command. Grafana distributes it through release archives, Go's module toolchain, an install script, and the official grafana/grafana Homebrew tap.
Users create named contexts with gcx login, then query metrics, logs, traces, dashboards, alert rules, SLOs, and other Grafana resources. JSON and YAML output, predictable exit codes, resource pull and push commands, and bundled agent skills make the tool suitable for CI, GitOps, and agentic workflows.
gcx is notable as a young vendor CLI that deliberately unifies previously fragmented Grafana and Grafana Cloud workflows. Its Go binary, Homebrew distribution, structured output, environment-variable authentication, multi-context configuration, and explicit AI-agent support reflect contemporary CLI packaging and automation practice.
security posture
No matching local secret-handling manifest was found for gcx. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/gcx/config.yaml./.gcx.yamlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gcx | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/grafana/gcx
install metadata
| Package key | brew:gcx |
|---|---|
| Version | 0.6.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gcx |
| Homepage | https://github.com/grafana/gcx |
| Repository | https://github.com/grafana/gcx |
| Upstream docs | https://grafana.com/docs/grafana/latest/as-code/observability-as-code/grafana-cli/gcx |
| License | Apache-2.0 |
| Source archive | https://github.com/grafana/gcx/archive/refs/tags/v0.6.0.tar.gz |
| Last updated | 2026-07-24T16:01:44Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gcx |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gcx
nix profile install nixpkgs#gcxsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.