# 使用 Homebrew, Nix 安装 grizzly

查看 grizzly 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:grizzly
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install grizzly
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#grizzly
```

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

## 软件包事实

- **软件包键:** brew:grizzly
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/grizzly>
- **版本:** 0.7.1
- **来源摘要:** Command-line tool for managing and automating Grafana dashboards
- **主页:** <https://grafana.github.io/grizzly/>
- **仓库:** <https://github.com/grafana-cold-storage/grizzly>
- **上游文档:** <https://grafana.github.io/grizzly/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/grafana-cold-storage/grizzly/archive/refs/tags/v0.7.1.tar.gz>
- **最后更新:** 2026-07-27T14:57:52+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- grr (cli)
- grr (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.7.1
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/grafana-cold-storage/grizzly
- 检测到的最新版本: v0.7.1 (当前)
## 项目历史与用法

Grafana Grizzly is a CLI for managing observability resources as code. It packages a GitOps-style Grafana workflow into the `grr` command, letting teams define dashboards, alerting, and recording rules in files and apply them to Grafana APIs.

### 项目历史

Grizzly came out of the Grafana-as-code ecosystem, where dashboards and related resources moved from UI-only configuration into version-controlled JSON, Jsonnet, and Kubernetes-like YAML. The official repository describes it as a command-line tool for managing observability resources as code and building those updates into deployment pipelines.

Grafana's own as-code writing placed Grizzly beside Grafonnet, Terraform, and the Grafana Operator as one of the tools for publishing Git-based dashboard definitions. Later Grafana documentation marked Grizzly as deprecated and directed users toward Grafana CLI workflows.

### 采用历史

Grizzly appealed to teams that wanted dashboards and alerts reviewed in pull requests, pushed by CI, and kept near application code. Grafana blog posts used it as an example tool for dashboard-as-code workflows and for reviewing Git-based dashboards locally.

The package's adoption was strongest among Grafana and Jsonnet users who wanted a CLI bridge between rendered dashboard definitions and live Grafana instances.

### 使用方式

Users configure a context with Grafana connection details, then use `grr` commands to apply, get, diff, watch, or serve resources. The settings file can carry both target URLs and authentication material, which is why the package has the same path for configuration and credentials.

In package-manager culture it is a small operational binary: install it, point it at Grafana, and wire it into local dashboard development or CI.

### 为什么软件包爱好者会关心

Grizzly is interesting because it shows observability configuration moving into the same package and Git workflows as application code. It is not a dashboard renderer by itself; it is glue between source-controlled resource definitions and Grafana's APIs.

It also shows the lifecycle risk of cloud-infrastructure CLIs. A useful package can become a migration step when its owning platform standardizes around a replacement.

### 时间线

- 2020: Grafana described Grizzly as a tool for managing observability resources with code.
- 2021: Users discussed Grizzly in CI workflows for generated Grafana dashboards.
- 2024: Grafana documented Grizzly in Git-based dashboard editing workflows.
- Afterward: Grafana documentation marked Grizzly as removed from active support and pointed users to Grafana CLI.

### Related projects

- Grafana is the observability platform Grizzly manages.
- Grafonnet and Jsonnet are common dashboard-as-code inputs used with Grizzly-style workflows.
- Grafana Terraform provider and Grafana Operator cover adjacent infrastructure-as-code workflows.
- grafanactl and Grafana CLI workflows are successors in Grafana's documented direction.

### 来源

- <https://github.com/grafana/grizzly>
- <https://grafana.com/blog/a-complete-guide-to-managing-grafana-as-code-tools-tips-and-tricks/>
- <https://grafana.com/blog/edit-your-git-based-grafana-dashboards-locally/>
- <https://grafana.com/docs/grafana/latest/as-code/infrastructure-as-code/grizzly/>
- <https://grafana.github.io/grizzly>


## 安全说明

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

- Linux: $XDG_CONFIG_HOME/grizzly/settings.yaml, ~/.config/grizzly/settings.yaml
- macOS: ~/Library/Application Support/grizzly/settings.yaml
- Windows: %LOCALAPPDATA%\grizzly\settings.yaml

## Credential files

- Linux: $XDG_CONFIG_HOME/grizzly/settings.yaml, ~/.config/grizzly/settings.yaml
- macOS: ~/Library/Application Support/grizzly/settings.yaml
- Windows: %LOCALAPPDATA%\grizzly\settings.yaml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** grizzly
- **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 - grizzly: normalized package name match | nixpkgs package indexes: pkgs/by-name/gr/grizzly/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [logcli](https://pkg.so/zh-hans/brew/logcli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, grafana, observability.
- [mimirtool](https://pkg.so/zh-hans/brew/mimirtool/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, grafana, observability.
- [gcx](https://pkg.so/zh-hans/brew/gcx/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, grafana, observability.
- [ansible](https://pkg.so/zh-hans/brew/ansible/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [opentofu](https://pkg.so/zh-hans/brew/opentofu/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [pulumi](https://pkg.so/zh-hans/brew/pulumi/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [cfn-lint](https://pkg.so/zh-hans/brew/cfn-lint/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [aws-cdk](https://pkg.so/zh-hans/brew/aws-cdk/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, infrastructure-as-code.
- [cfn-format](https://pkg.so/zh-hans/brew/cfn-format/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, code, command-line.
- [rain](https://pkg.so/zh-hans/brew/rain/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, code, command-line.
- [grizzly](https://pkg.so/zh-hans/npm/grizzly/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/grizzly.yml](https://github.com/mxcl/pkgdb/blob/main/combined/grizzly.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
