# Install mimirtool with Homebrew

CLI for interacting with Grafana Mimir. Version 3.1.2 via Homebrew; verified 2026-06-24.

## Install

```sh
sudo av install brew:mimirtool
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mimirtool
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:mimirtool
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mimirtool>
- **Version:** 3.1.2
- **Source summary:** CLI for interacting with Grafana Mimir
- **Homepage:** <https://grafana.com/docs/mimir/latest/operators-guide/tools/mimirtool/>
- **Repository:** <https://github.com/grafana/mimir>
- **Upstream docs:** <https://grafana.com/docs/mimir/latest/manage/tools/mimirtool>
- **License:** AGPL-3.0-only
- **Source archive:** <https://github.com/grafana/mimir.git>
- **Last updated:** 2026-06-24T13:21:43Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mimirtool (cli)
- mimirtool (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.1.2
- Package-manager updated: 2026-06-24
- Local data: ok
- Upstream repository: https://github.com/grafana/mimir
- info: No cached GitHub release or tag data was available.
## Project history and usage

mimirtool is the operator and tenant CLI shipped from the Grafana Mimir repository. Grafana Mimir itself was announced by Grafana Labs on March 31, 2022 as an open-source time-series database for Prometheus-compatible metrics, built from lessons learned running Grafana Enterprise Metrics and Grafana Cloud Metrics at large scale. The announcement and Grafana's Mimir OSS page describe the project as started at Grafana Labs, AGPLv3-licensed, and aimed at highly scalable, highly available, multi-tenant long-term metric storage.

### Project history

Mimirtool exists because running a Mimir or Grafana Cloud Metrics deployment involves more than querying time series. The official Mimirtool docs describe it as a command-line tool for common tasks involving Grafana Mimir or Grafana Cloud Metrics, interacting with user-facing APIs and backend storage. Its commands cover Alertmanager configuration, Prometheus rule validation and upload, remote-read export, metric-usage analysis from Grafana dashboards and rules, object-storage bucket validation, ACL header generation, Cortex-to-Mimir config conversion, TSDB block backfill, and partition-ring operations.

### Adoption history

In practice, operators configure the CLI with `MIMIR_ADDRESS`, `MIMIR_API_USER`, `MIMIR_API_KEY`, `MIMIR_TENANT_ID`, and TLS-related flags or environment variables, then use it to automate rule management, migration checks, storage validation, and backfills. Grafana Cloud documentation specifically uses `mimirtool` to upload alert and recording rules to Grafana Cloud Metrics and Alerts.

### How it is used

Its package niche is narrow and infrastructure-focused: Homebrew distributes the standalone `mimirtool` executable, while upstream also publishes release binaries from the Grafana Mimir GitHub releases. It is best understood as the administrative companion to Grafana Mimir, not a general observability client.

### Sources

- <https://formulae.brew.sh/formula/mimirtool>
- <https://github.com/grafana/mimir>
- <https://grafana.com/blog/announcing-grafana-mimir/>
- <https://grafana.com/docs/grafana-cloud/alerting-and-irm/alerting/set-up/provision-alerting-resources/use-mimirtool/>
- <https://grafana.com/docs/mimir/latest/>
- <https://grafana.com/docs/mimir/latest/manage/tools/mimirtool/>
- <https://grafana.com/oss/mimir/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mimirtool
- **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:** head, stable


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Documentation packages](https://www.automicvault.com/pkg/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [grizzly](https://www.automicvault.com/pkg/brew/grizzly/) - Shares av.db curated category or tags: cli, cloud-infrastructure, grafana, observability.
- [logcli](https://www.automicvault.com/pkg/brew/logcli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, grafana, observability.
- [mcp-grafana](https://www.automicvault.com/pkg/brew/mcp-grafana/) - Shares av.db curated category or tags: cli, cloud-infrastructure, grafana, observability.
- [sloth-cli](https://www.automicvault.com/pkg/brew/sloth-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability, prometheus.
- [newrelic-infra-agent](https://www.automicvault.com/pkg/brew/newrelic-infra-agent/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [swctl](https://www.automicvault.com/pkg/brew/swctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [prometheus](https://www.automicvault.com/pkg/brew/prometheus/) - Shares av.db curated category or tags: cli, cloud-infrastructure, metrics, observability.
- [thanos](https://www.automicvault.com/pkg/brew/thanos/) - Shares av.db curated category or tags: cli, cloud-infrastructure, metrics, prometheus.

## Combined YAML source

View the package source record on GitHub. [combined/mimirtool.yml](https://github.com/automic-vault/db/blob/main/combined/mimirtool.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
