Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper, scoop 安装 grafana

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install grafana

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install grafana

MacPorts ports tree · net/grafana/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add grafana

Alpine Linux edge package indexes · grafana · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install grafana

Fedora Rawhide package metadata · grafana · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#grafana

nixpkgs package indexes · pkgs/by-name/gr/grafana/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S grafana

Arch Linux sync databases · grafana · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install grafana

openSUSE Tumbleweed package metadata · grafana · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install grafana

Chocolatey community package catalog · grafana · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install extras/grafana

Scoop official bucket manifest trees · bucket/grafana.json · 来源: api.github.com

概览

软件包摘要

Gorgeous metric visualizations and dashboards for timeseries databases

命令和别名

  • grafana

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

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

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.

时间线

  • 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.

安全态势

风险级别:orange

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

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

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

信号

  • metadata:service
  • text:database

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Linux
/etc/grafana/grafana.ini
macOS
/opt/homebrew/etc/grafana/grafana.ini/usr/local/etc/grafana/grafana.ini

可执行文件

已安装的可执行文件

命令类型暴露范围备注
grafanacli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本13.1.1
管理器更新时间2026-07-21
本地数据OK
上游当前
检测到的最新版本v13.1.1

https://github.com/grafana/grafana

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:grafana
版本13.1.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/grafana
主页https://grafana.com
仓库https://github.com/grafana/grafana
上游文档https://grafana.com/docs/grafana/latest
许可证AGPL-3.0-only
源码归档https://github.com/grafana/grafana/archive/refs/tags/v13.1.1.tar.gz
最后更新2026-07-21T12:29:39Z
Pulseupdated
构建依赖go, node, yarn
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegrafana
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

grafana

nix profile install nixpkgs#grafana
  • normalized package name match
  • 匹配方式:Grafana
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gr/grafana/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

grafana 12.4.3-r1

Open source, feature rich metrics dashboard and graph editor

https://grafana.com/

sudo apk add grafana
  • License: AGPL-3.0-only
  • Architecture: x86_64
  • Source Package: grafana
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Grafana
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: grafana from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

grafana-openrc 12.4.3-r1

Open source, feature rich metrics dashboard and graph editor (OpenRC init scripts)

https://grafana.com/

sudo apk add grafana-openrc
  • License: AGPL-3.0-only
  • Architecture: x86_64
  • Source Package: grafana
  • normalized package name match
  • 匹配方式:Grafana
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: grafana-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

grafana 12.4.3-2.fc45

Metrics dashboard and graph editor

https://grafana.org

sudo dnf install grafana
  • License: AGPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: grafana
  • 9 依赖
  • 17 提供
  • normalized package name match
  • 匹配方式:Grafana
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: grafana from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

grafana-selinux 12.4.3-2.fc45

SELinux policy module supporting grafana

https://grafana.org

sudo dnf install grafana-selinux
  • License: AGPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: grafana
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Grafana
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
pacman95%

grafana 13.0.1-2

Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB

https://grafana.com/

sudo pacman -S grafana
  • License: AGPL AND Apache
  • Architecture: x86_64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Grafana
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: grafana from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

grafana 11.6.14+security04-2.1

The open-source platform for monitoring and observability

http://grafana.org/

sudo zypper install grafana
  • License: AGPL-3.0-only
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: grafana
  • 8 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Grafana
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: grafana from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

grafana

sudo port install grafana
  • normalized package name match
  • 匹配方式:Grafana
MacPorts ports tree · api.github.com · MacPorts ports tree: net/grafana/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

grafana

choco install grafana
  • normalized package name match
  • 匹配方式:Grafana
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: grafana from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gpg4win-vanilla'
Scoop95%

extras/grafana

scoop install extras/grafana
  • normalized package name match
  • 匹配方式:Grafana
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/grafana.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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