# Install grafana with Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, scoop, zypper

Gorgeous metric visualizations and dashboards for timeseries databases. Version 13.1.0 via Homebrew; verified 2026-06-23.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install grafana
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install grafana
```

  Evidence: MacPorts ports tree: net/grafana/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add grafana
```

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

- dnf (92%):

```sh
sudo dnf install grafana
```

  Evidence: Fedora Rawhide package metadata: grafana from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

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

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

- pacman (92%):

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

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

- zypper (92%):

```sh
sudo zypper install grafana
```

  Evidence: openSUSE Tumbleweed package metadata: grafana from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install grafana
```

  Evidence: Chocolatey community package catalog: grafana from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gpg4win-vanilla'

- Scoop (92%):

```sh
scoop install extras/grafana
```

  Evidence: Scoop official bucket manifest trees: bucket/grafana.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:grafana
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/grafana>
- **Version:** 13.1.0
- **Source summary:** Gorgeous metric visualizations and dashboards for timeseries databases
- **Homepage:** <https://grafana.com>
- **Repository:** <https://github.com/grafana/grafana>
- **Upstream docs:** <https://grafana.com/docs/grafana/latest>
- **License:** AGPL-3.0-only
- **Source archive:** <https://github.com/grafana/grafana/archive/refs/tags/v13.1.0.tar.gz>
- **Last updated:** 2026-06-23T13:07:59Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- grafana (cli)
- grafana (alias)

## Build dependencies

- go
- node
- yarn

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 13.1.0
- Package-manager updated: 2026-06-23
- Local data: ok
- Upstream repository: https://github.com/grafana/grafana
- Upstream latest detected: v13.1.0 (current)
## Project history and usage

Grafana is an open source analytics and visualization platform centered on dashboards for time-series and observability data. In package-manager culture it is both a server package and a gateway into the broader Grafana Labs observability stack.

### Project history

Torkel Odegaard began Grafana as a fork of Kibana while experimenting with ways to query and visualize Graphite data. The first public release, Grafana v1.0, appeared on January 19, 2014 with a Graphite query editor, templating, and dashboard storage through the Kibana 3 base.

Grafana v2 added a Go backend in 2015 so dashboards and users could be stored without relying on Elasticsearch. The project then expanded beyond its Graphite roots into a multi-data-source dashboard system with plugins, alerting, and a long-running commitment to dashboard compatibility.

Grafana Labs' own history of the UX describes v3 and v4 as the period when the plugin system, panel plugins, grafana.net, and alerting became central. Grafana v5 reworked dashboard layout around a grid system, reducing the awkward row model while preserving older dashboards.

### Adoption history

Grafana's early adoption came from the Graphite community because it made Graphite queries easier to read and edit and offered interactive dashboards that were more approachable than JSON-only alternatives. That origin explains why package managers adopted it as a developer and operations staple rather than a narrow visualization app.

As Prometheus, Loki, Tempo, Mimir, and OpenTelemetry grew around cloud-native observability, Grafana became the visual layer many teams installed locally or as a service. Homebrew users commonly install it to run dashboards during development, test plugins, or mirror production observability setups.

### How it is used

A packaged Grafana install usually runs the server executable, reads grafana.ini from the platform config path, and serves dashboards through a web UI. Administrators add data sources, dashboards, users, alert rules, and plugins, while developers often use the package as a local observability workbench.

The bundled Grafana server CLI is a separate administration surface for tasks such as plugin management and admin operations, while grafanactl and gcx address Grafana-as-code workflows outside the server package.

### Why package nerds care

Grafana is a classic package-manager heavyweight: a Go service with frontend assets, config files, service definitions, plugin directories, and many downstream integrations. Its packaging tells users where state and config live, how upgrades preserve dashboards, and how the local service joins a larger metrics/logs/traces toolchain.

For package nerds, Grafana also marks the shift from single-purpose time-series graphing tools toward composable observability stacks, where the visualization package is the user-facing hub for several backend packages.

### Timeline

- 2014-01-19: Grafana v1.0 public release.
- 2015: Grafana v2 introduced a Go backend.
- 2016: Grafana v3 introduced a more formal plugin system and grafana.net.
- 2016: Grafana v4 added alerting.
- 2018: Grafana v5 moved dashboards to a new grid layout system.
- 2019: Grafana v6 improved visualization switching and panel editing.

### Related projects

- Graphite and Kibana shaped Grafana's origin.
- Prometheus, Loki, Tempo, Mimir, Alloy, and OpenTelemetry are common parts of the same observability stack.
- grafanactl and gcx are related command-line tools for Grafana resource management.

### Sources

- <https://grafana.com/blog/4-years-of-grafana/>
- <https://grafana.com/blog/the-mostly-complete-history-of-grafana-ux/>
- <https://grafana.com/docs/grafana/latest/>
- <https://grafana.com/docs/grafana/latest/administration/cli/>


## Security Notes

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- 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/grafana/grafana.ini
- macOS: /opt/homebrew/etc/grafana/grafana.ini, /usr/local/etc/grafana/grafana.ini
## Source Database Details

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

## Other Package-Manager Records

- Nix - grafana: normalized package name match | nixpkgs package indexes: pkgs/by-name/gr/grafana/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - grafana - 12.4.3-r1: normalized package name match | Alpine Linux edge package indexes: grafana from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open source, feature rich metrics dashboard and graph editor | https://grafana.com/
- apk - grafana-openrc - 12.4.3-r1: normalized package name match | Alpine Linux edge package indexes: grafana-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open source, feature rich metrics dashboard and graph editor (OpenRC init scripts) | https://grafana.com/
- dnf - grafana - 12.4.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: grafana from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Metrics dashboard and graph editor | https://grafana.org
- dnf - grafana-selinux - 12.4.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: grafana-selinux from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | SELinux policy module supporting grafana | https://grafana.org
- pacman - grafana - 13.0.1-2: normalized package name match | Arch Linux sync databases: grafana from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB | https://grafana.com/
- zypper - grafana - 11.6.14+security04-2.1: normalized package name match | openSUSE Tumbleweed package metadata: grafana from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | The open-source platform for monitoring and observability | http://grafana.org/
- MacPorts - grafana: normalized package name match | MacPorts ports tree: net/grafana/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - grafana: normalized package name match | Chocolatey community package catalog: grafana from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gpg4win-vanilla'
- Scoop - extras/grafana: normalized package name match | Scoop official bucket manifest trees: bucket/grafana.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [node](https://www.automicvault.com/pkg/brew/node/) - Build dependency declared by Homebrew.
- [yarn](https://www.automicvault.com/pkg/brew/yarn/) - Build dependency declared by Homebrew.
- [grafana-alloy](https://www.automicvault.com/pkg/brew/grafana-alloy/) - Shares av.db curated category or tags: cli, developer-tools, metrics, observability.
- [newrelic-cli](https://www.automicvault.com/pkg/brew/newrelic-cli/) - Shares av.db curated category or tags: cli, developer-tools, monitoring, observability.
- [alp](https://www.automicvault.com/pkg/brew/alp/) - Shares av.db curated category or tags: cli, developer-tools, observability.
- [analog](https://www.automicvault.com/pkg/brew/analog/) - Shares av.db curated category or tags: analytics, cli, developer-tools, observability.
- [angle-grinder](https://www.automicvault.com/pkg/brew/angle-grinder/) - Shares av.db curated category or tags: analytics, cli, developer-tools, observability.
- [chronograf](https://www.automicvault.com/pkg/brew/chronograf/) - Shares av.db curated category or tags: cli, developer-tools, monitoring, time-series, visualization.
- [grafanactl](https://www.automicvault.com/pkg/brew/grafanactl/) - Shares av.db curated category or tags: cli, developer-tools, observability.
- [humanlog](https://www.automicvault.com/pkg/brew/humanlog/) - Shares av.db curated category or tags: cli, developer-tools, observability.

## Combined YAML source

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


## Sources

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