# Installer grafana-alloy avec Homebrew, chocolatey, Nix, pacman, apk, zypper, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de grafana-alloy pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:grafana-alloy
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install grafana-alloy
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#grafana-alloy
```

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

- pacman (92%):

```sh
sudo pacman -S grafana-alloy
```

  Preuve: Arch Linux sync databases: grafana-alloy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- apk (92%):

```sh
sudo apk add alloy
```

  Preuve: Alpine Linux edge package indexes: alloy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- zypper (92%):

```sh
sudo zypper install alloy
```

  Preuve: openSUSE Tumbleweed package metadata: alloy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install grafana-alloy
```

  Preuve: Chocolatey community package catalog: grafana-alloy from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','google-workspace-sync'

- winget (92%):

```sh
winget install --id GrafanaLabs.Alloy -e
```

  Preuve: Windows Package Manager source index: GrafanaLabs.Alloy from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:grafana-alloy
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.18.0
- **Résumé source:** OpenTelemetry Collector distribution with programmable pipelines
- **Page d'accueil:** <https://grafana.com/oss/alloy-opentelemetry-collector/>
- **Dépôt:** <https://github.com/grafana/alloy>
- **Dernière mise à jour:** 2026-07-27T16:47:25+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- alloy (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.18.0
## Historique du projet et usages

Grafana Alloy is Grafana Labs' open source distribution of the OpenTelemetry Collector, designed to run telemetry pipelines for metrics, logs, traces, and profiles while retaining first-class Prometheus-oriented pipeline support.

### Historique du projet

Alloy grew out of Grafana Agent and Grafana Agent Flow. Grafana Labs described Grafana Agent as a broad OSS telemetry agent introduced in 2020 for Prometheus-era collection problems, then positioned Alloy in 2024 as the successor that uses Agent Flow concepts while aligning with the OpenTelemetry Collector.

The launch announcement emphasized compatibility with OTLP, OpenTelemetry Collector, and Prometheus Agent workflows. That made Alloy both a migration target for Grafana Agent users and a standalone collector for mixed observability environments.

### Historique d'adoption

Grafana Labs tied Alloy adoption to its recommendation that Grafana Agent users plan migrations before the Agent end-of-life date. Official migration documentation covers moving Agent Flow state directories and pipelines into Alloy layouts on Linux, macOS, Windows, and containers.

The package became important in Homebrew-style environments because it packages a production telemetry collector as a single serviceable CLI/daemon with documented platform-specific configuration paths.

### Modes d'utilisation

Operators use Alloy to receive, transform, scrape, relabel, and export telemetry. Common package-manager usage is installing the binary, editing config.alloy, and running Alloy as a long-lived service that forwards data to Grafana Cloud, an LGTM stack, or other compatible backends.

### Pourquoi les passionnés de paquets s'y intéressent

Alloy matters to package maintainers because it sits at the convergence point of Prometheus scraping, OpenTelemetry Collector components, service management, and cross-platform config conventions. It replaced several collector choices with one packaged executable for many Grafana observability setups.

### Chronologie

- 2020: Grafana Agent rolled out as Grafana Labs' OSS telemetry agent.
- 2024-04-09: Grafana Agent and Grafana Agent Operator entered long-term support in favor of Alloy.
- 2024-04-10: Grafana Labs announced Grafana Alloy as an OpenTelemetry Collector distribution with Prometheus pipelines.
- 2025-11-01: Grafana Agent was expected to reach end of life, making Alloy the migration target.

### Related projects

- Grafana Agent and Grafana Agent Flow are Alloy's direct predecessors.
- OpenTelemetry Collector, Prometheus Agent, Grafana, Loki, Tempo, and Mimir are adjacent projects in the same collector and backend ecosystem.

### Sources

- <https://grafana.com/blog/grafana-agent-to-grafana-alloy-opentelemetry-collector-faq/>
- <https://grafana.com/blog/grafana-alloy-opentelemetry-collector-with-prometheus-pipelines/>
- <https://grafana.com/docs/alloy/latest/>
- <https://grafana.com/docs/alloy/latest/set-up/migrate/from-flow/>


## Notes de sécurité

formula declares a Homebrew service.

- **Risque Geiger:** orange / moyen
- formula declares a Homebrew service


## 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: /etc/alloy/config.alloy
- macOS: $(brew --prefix)/etc/alloy/config.alloy
- Windows: %ProgramFiles%\GrafanaLabs\Alloy\config.alloy
## Autres enregistrements de gestionnaires de paquets

- Nix - grafana-alloy: normalized package name match | nixpkgs package indexes: pkgs/by-name/gr/grafana-alloy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - grafana-alloy - 1.13.2-1: normalized package name match | Arch Linux sync databases: grafana-alloy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | OpenTelemetry Collector distribution with programmable pipelines | https://grafana.com/oss/alloy-opentelemetry-collector/
- Chocolatey - grafana-alloy: normalized package name match | Chocolatey community package catalog: grafana-alloy from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','google-workspace-sync'
- apk - alloy - 1.17.1-r1: installed executable or alias match | Alpine Linux edge package indexes: alloy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OpenTelemetry Collector distribution with programmable pipelines | https://grafana.com/oss/alloy
- apk - alloy-openrc - 1.17.1-r1: installed executable or alias match | Alpine Linux edge package indexes: alloy-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OpenTelemetry Collector distribution with programmable pipelines (OpenRC init scripts) | https://grafana.com/oss/alloy
- zypper - alloy - 1.17.1-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: alloy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | OpenTelemetry Collector distribution with programmable pipelines | https://github.com/grafana/alloy
- winget - GrafanaLabs.Alloy: installed executable or alias match | Windows Package Manager source index: GrafanaLabs.Alloy from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## Sources

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