pkg.soopen package index

brew / rank 7985

Install gcx with Homebrew, Nix

CLI for managing Grafana Cloud resources. Version 1.0.0 via Homebrew; verified 2026-07-29. Also installable with nix: nix profile install nixpkgs#gcx.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gcx

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#gcx

nixpkgs package indexes · pkgs/by-name/gc/gcx/package.nix · source: api.github.com

overview

Package summary

CLI for managing Grafana Cloud resources

Commands and aliases

  • gcx

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2026-03: Official GitHub repository created.
  • 2026-04: v0.2.0 published as the earliest currently listed GitHub release.
  • 2026: Grafana documents gcx as the recommended replacement path for grafanactl and marks it public preview.

Related projects

  • Grafana is the observability platform gcx manages.
  • grafanactl is the older Grafana CLI that official documentation now describes as deprecated.
  • Grafana Assistant supplies agent-oriented investigation capabilities exposed through gcx.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/gcx/config.yaml./.gcx.yaml

executables

Installed executables

CommandKindExposureNote
gcxexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version1.0.0
manager updated2026-07-29
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gcx
Version1.0.0
Package managerHomebrew
Homepagehttps://github.com/grafana/gcx
Repositoryhttps://github.com/grafana/gcx
Last updated2026-07-29T16:04:59+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

gcx

nix profile install nixpkgs#gcx
  • normalized package name match
  • Matched by: Gcx
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gc/gcx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation