# Install prometheus

Service monitoring system and time series database. Version 3.12.0 via Homebrew; verified 2026-05-28.

## Install

```sh
sudo av install brew:prometheus
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install prometheus
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install prometheus
```

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

### Linux

- apk (92%):

```sh
sudo apk add prometheus
```

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

- Debian apt (92%):

```sh
sudo apt install golang-github-prometheus-prometheus-dev
```

  Evidence: Debian stable package indexes: golang-github-prometheus-prometheus-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install prometheus
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#prometheus
```

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

- pacman (92%):

```sh
sudo pacman -S prometheus
```

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

- Ubuntu apt (92%):

```sh
sudo apt install prometheus
```

  Evidence: Ubuntu 24.04 LTS package indexes: prometheus from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install golang-github-prometheus-prometheus
```

  Evidence: openSUSE Tumbleweed package metadata: golang-github-prometheus-prometheus from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/prometheus
```

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

## Package Facts

- **Package key:** brew:prometheus
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/prometheus>
- **Version:** 3.12.0
- **Source summary:** Service monitoring system and time series database
- **Homepage:** <https://prometheus.io/>
- **Repository:** <https://github.com/prometheus/prometheus>
- **Upstream docs:** <https://prometheus.io/docs>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/prometheus/prometheus/archive/refs/tags/v3.12.0.tar.gz>
- **Last updated:** 2026-05-28T21:44:20Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- prometheus (cli)
- prometheus_brew_services (cli)
- promtool (cli)
- prometheus (alias)
- prometheus_brew_services (alias)
- promtool (alias)

## Build Dependencies

- gnu-tar
- go
- node
- yarn

## Install Behavior

- Post-install hook: not defined
- Service: declared
- Caveats: When run from `brew services`, `prometheus` is run from `prometheus_brew_services` and uses the flags in: $HOMEBREW_PREFIX/etc/prometheus.args
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 3.12.0
- Package-manager updated: 2026-05-28
- Local data status: ok
- Upstream repository: https://github.com/prometheus/prometheus
- Upstream latest detected: v3.12.0 (current)

## Notes de sécurité

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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** prometheus
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - golang-github-prometheus-prometheus-dev - 2.53.3+ds1-2: normalized package name match | Debian stable package indexes: golang-github-prometheus-prometheus-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Prometheus monitoring system and time series database (library) | https://prometheus.io/
- Debian apt - prometheus - 2.53.3+ds1-2: normalized package name match | Debian stable package indexes: prometheus from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | monitoring system and time series database | https://prometheus.io/
- Debian apt - promtool - 2.53.3+ds1-2: normalized package name match | Debian stable package indexes: promtool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tooling for the Prometheus monitoring system | https://prometheus.io/
- Nix - prometheus: normalized package name match | nixpkgs package indexes: pkgs/by-name/pr/prometheus/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - prometheus - 2.45.3+ds-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: prometheus from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | monitoring system and time series database | https://prometheus.io/
- apk - prometheus - 3.5.3-r1: normalized package name match | Alpine Linux edge package indexes: prometheus from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The Prometheus monitoring system and time series database | https://github.com/prometheus/prometheus
- apk - prometheus-openrc - 3.5.3-r1: normalized package name match | Alpine Linux edge package indexes: prometheus-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The Prometheus monitoring system and time series database (OpenRC init scripts) | https://github.com/prometheus/prometheus
- dnf - prometheus - 3.11.2-1.fc45: normalized package name match | Fedora Rawhide package metadata: prometheus from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Prometheus monitoring system and time series database | https://github.com/prometheus/prometheus
- pacman - prometheus - 3.11.3-1: normalized package name match | Arch Linux sync databases: prometheus from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An open-source systems monitoring and alerting toolkit | https://prometheus.io
- zypper - golang-github-prometheus-prometheus - 3.11.3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: golang-github-prometheus-prometheus from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | The Prometheus monitoring system and time series database | https://prometheus.io/
- MacPorts - prometheus: normalized package name match | MacPorts ports tree: sysutils/prometheus/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/prometheus: normalized package name match | Scoop official bucket manifest trees: bucket/prometheus.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related Links

- [Cloud CLI packages](https://www.automicvault.com/fr/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://www.automicvault.com/fr/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [node](https://www.automicvault.com/fr/pkg/brew/node/) - Build dependency declared by Homebrew.
- [go](https://www.automicvault.com/fr/pkg/brew/go/) - Build dependency declared by Homebrew.
- [gnu-tar](https://www.automicvault.com/fr/pkg/brew/gnu-tar/) - Build dependency declared by Homebrew.
- [yarn](https://www.automicvault.com/fr/pkg/brew/yarn/) - Build dependency declared by Homebrew.
- [node_exporter](https://www.automicvault.com/fr/pkg/brew/node-exporter/) - Shares the same upstream homepage.
- [ktop](https://www.automicvault.com/fr/pkg/brew/ktop/) - Shares av.db curated category or tags: cli, cloud-infrastructure, metrics, monitoring.
- [thanos](https://www.automicvault.com/fr/pkg/brew/thanos/) - Shares av.db curated category or tags: cli, cloud-infrastructure, metrics, monitoring.
- [dtop](https://www.automicvault.com/fr/pkg/brew/dtop/) - Shares av.db curated category or tags: cli, cloud-infrastructure, monitoring.
- [newrelic-infra-agent](https://www.automicvault.com/fr/pkg/brew/newrelic-infra-agent/) - Shares av.db curated category or tags: cli, cloud-infrastructure, monitoring, observability.
- [mimirtool](https://www.automicvault.com/fr/pkg/brew/mimirtool/) - Shares av.db curated category or tags: cli, cloud-infrastructure, metrics, observability.
- [mcp-grafana](https://www.automicvault.com/fr/pkg/brew/mcp-grafana/) - Shares av.db curated category or tags: cli, cloud-infrastructure, monitoring, observability.
- [logcli](https://www.automicvault.com/fr/pkg/brew/logcli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, observability.
- [kubetui](https://www.automicvault.com/fr/pkg/brew/kubetui/) - Shares av.db curated category or tags: cli, cloud-infrastructure, monitoring.

## Sources

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