# grafanactl を Homebrew, Nix でインストール

grafanactl のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:grafanactl
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install grafanactl
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#grafanactl
```

  証拠: nixpkgs package indexes: pkgs/by-name/gr/grafanactl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:grafanactl
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/grafanactl>
- **バージョン:** 0.1.10
- **ソース概要:** CLI to interact with Grafana
- **ホームページ:** <https://grafana.github.io/grafanactl/>
- **リポジトリ:** <https://github.com/grafana/grafanactl>
- **上流ドキュメント:** <https://grafana.github.io/grafanactl/>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/grafana/grafanactl/archive/refs/tags/v0.1.10.tar.gz>
- **最終更新:** 2026-07-29T16:05:05+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- grafanactl (cli)
- grafanactl (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.1.10
- マネージャ更新日: 2026-07-29
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/grafana/grafanactl
- 検出された最新: v0.1.10 (最新)
## プロジェクトの歴史と使われ方

grafanactl is a Grafana Labs command-line tool for managing Grafana resources and environments through Grafana APIs. It belongs to the observability-as-code layer around Grafana rather than to the Grafana server itself.

### プロジェクトの歴史

The Grafana documentation presents grafanactl as a CLI for authentication, multiple environments, and administrative/resource workflows through the Grafana REST API. The repository README describes it as public-preview software used by Grafana Labs while still under active development.

By 2026 the repository README pointed users toward gcx as the successor CLI and said the grafanactl repository would be archived on June 1, 2026. That makes grafanactl a transitional package in the Grafana CLI lineage.

### 採用の歴史

grafanactl adoption is tied to teams treating Grafana configuration as code: backing up resources, restoring resources, serving local resource definitions, and switching contexts between Grafana instances. Its Homebrew package gives macOS users a simple binary install for that workflow.

### 使われ方

Users configure contexts, authenticate to Grafana, and run resource commands such as pulling resources to YAML or serving resources locally for preview and migration workflows.

### パッケージ好きにとっての重要性

grafanactl is significant as a small, purpose-built companion CLI: it packages Grafana API automation separately from the large Grafana server package, which keeps scripted resource management available in shells and CI jobs.

### タイムライン

- 2026-04-27: GitHub release page listed v0.1.10.
- 2026-06-01: Repository README named this date for archival in favor of gcx.

### Related projects

- Grafana is the server and API target.
- gcx is the successor CLI named by the Grafana repository.
- Grafana App SDK resources are part of the ecosystem around resource management.

### ソース

- <https://github.com/grafana/grafanactl>
- <https://grafana.com/docs/grafana/latest/as-code/observability-as-code/grafana-cli/grafanacli-workflows/>
- <https://grafana.com/docs/grafana/latest/as-code/observability-as-code/grafana-cli/grafanactl/>
- <https://grafana.github.io/grafanactl/reference/cli/grafanactl/>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- Unix: $XDG_CONFIG_HOME/grafanactl/config.yaml, ~/.config/grafanactl/config.yaml

## Credential files

- Unix: $XDG_CONFIG_HOME/grafanactl/config.yaml, ~/.config/grafanactl/config.yaml
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** grafanactl
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Nix - grafanactl: normalized package name match | nixpkgs package indexes: pkgs/by-name/gr/grafanactl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [grafana-alloy](https://pkg.so/ja/brew/grafana-alloy/) - Shares pkgdb curated category or tags: cli, developer-tools, grafana, observability.
- [gh](https://pkg.so/ja/brew/gh/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [just](https://pkg.so/ja/brew/just/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [watchman](https://pkg.so/ja/brew/watchman/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [go-task](https://pkg.so/ja/brew/go-task/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [powershell](https://pkg.so/ja/brew/powershell/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [sshpass](https://pkg.so/ja/brew/sshpass/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [httpie](https://pkg.so/ja/brew/httpie/) - Shares pkgdb curated category or tags: api-client, cli, developer-tools.
- [inso](https://pkg.so/ja/cask/inso/) - Local metadata places this package in an adjacent workflow. Shared terms: api, api-client, automation, cli, client.
- [cobo-cli](https://pkg.so/ja/brew/cobo-cli/) - Local metadata places this package in an adjacent workflow. Shared terms: api, api-client, cli, client, developer.
- [phrase-cli](https://pkg.so/ja/brew/phrase-cli/) - Local metadata places this package in an adjacent workflow. Shared terms: api, api-client, cli, client, developer.

## Combined YAML source

View the package source record on GitHub. [combined/grafanactl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/grafanactl.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
