# Install victoriametrics with Homebrew, Nix, apt, apk

Cost-effective and scalable monitoring solution and time series database. Version 1.148.0 via Homebrew; verified 2026-07-26. Also installable with debian: sudo apt install golang-github-victoriametrics-victoriametrics-dev.

## Install

```sh
sudo av install brew:victoriametrics
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install victoriametrics
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#victoriametrics
```

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

- Debian apt (92%):

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

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

- apk (92%):

```sh
sudo apk add victoria-metrics
```

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

## Package facts

- **Package key:** brew:victoriametrics
- **Package manager:** Homebrew
- **Version:** 1.148.0
- **Source summary:** Cost-effective and scalable monitoring solution and time series database
- **Homepage:** <https://victoriametrics.com/>
- **Repository:** <https://github.com/VictoriaMetrics/VictoriaMetrics>
- **Last updated:** 2026-07-26T00:30:33+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- victoria-metrics (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.148.0
## Project history and usage

VictoriaMetrics is an open source time-series database and monitoring solution focused on Prometheus-compatible metrics storage, querying, and operational efficiency. It is used as long-term storage for Prometheus, as a Grafana-compatible backend, and as the center of a larger observability suite.

### Project history

The public VictoriaMetrics repository was created on 2018-09-30. Its README describes a system designed for fast, cost-effective, scalable monitoring and time-series data management, with both single-node and cluster versions available as open source under Apache License 2.0.

VictoriaMetrics grew from a metrics database into a broader observability ecosystem. The official documentation lists surrounding components such as vmagent, vmalert, vmauth, vmctl, backup and restore tools, cluster components, and VictoriaLogs, showing how the project expanded beyond a single server binary into a suite for ingestion, alerting, migration, backup, and multi-tenant deployment.

### Adoption history

By its fifth anniversary in December 2023, VictoriaMetrics reported 338 million downloads, 2,841 Slack users, 219 contributors, and hundreds of issues, pull requests, features, and bug fixes across the v1.86 to v1.95 release range. The same anniversary post pointed to DB-Engines and GitHub popularity tracking as evidence of adoption in the time-series database space.

### How it is used

VictoriaMetrics is commonly deployed as a single small executable or as a cluster. It accepts Prometheus remote write and exposition formats, can scrape Prometheus exporters, supports Graphite, InfluxDB, OpenTSDB, DataDog/DogStatsD, NewRelic, OpenTelemetry, CSV, JSON line, and native import formats, and exposes Prometheus-compatible query APIs for Grafana and other tooling.

### Why package nerds care

For package and operations nerds, VictoriaMetrics is notable for packaging a serious TSDB as a small, dependency-light binary with command-line flag configuration and strong defaults. That simplicity, combined with Prometheus compatibility and high-cardinality/high-churn performance claims, made it a common alternative to heavier clustered Prometheus long-term-storage stacks such as Thanos, Cortex/Mimir, M3DB, InfluxDB, or TimescaleDB in some deployments.

### Timeline

- 2018-09-30: Public GitHub repository created.
- 2019: VictoriaMetrics participated in the Prometheus remote-write storage ecosystem and later referenced PromCon 2019 remote-write storage comparisons in its docs.
- 2023-12-21: VictoriaMetrics published fifth-anniversary adoption statistics.
- 2024-2026: Regular release cadence continued, including LTS and community releases.
- 2026-06-22: GitHub API listed v1.146.0 and related LTS releases as recent VictoriaMetrics releases.

### Related projects

- VictoriaLogs extends the VictoriaMetrics ecosystem into log storage and analysis.
- vmagent, vmalert, vmctl, vmbackup, vmrestore, vmauth, and the VictoriaMetrics Kubernetes operator are related operational components around the core database.

### Sources

- <https://api.github.com/repos/VictoriaMetrics/VictoriaMetrics>
- <https://api.github.com/repos/VictoriaMetrics/VictoriaMetrics/releases>
- <https://docs.victoriametrics.com/victoriametrics/>
- <https://github.com/VictoriaMetrics/VictoriaMetrics>
- <https://victoriametrics.com/blog/5-year-anniversary-celebrations/>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service

## Other Package-Manager Records

- Debian apt - golang-github-victoriametrics-victoriametrics-dev - 1.112.0+ds1-2: normalized package name match | Debian stable package indexes: golang-github-victoriametrics-victoriametrics-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast, cost-effective and scalable time series database (library) | https://github.com/VictoriaMetrics/VictoriaMetrics
- Debian apt - victoria-metrics - 1.112.0+ds1-2: normalized package name match | Debian stable package indexes: victoria-metrics from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast, cost-effective and scalable time series database | https://github.com/VictoriaMetrics/VictoriaMetrics
- Nix - victoriametrics: normalized package name match | nixpkgs package indexes: pkgs/by-name/vi/victoriametrics/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - golang-github-victoriametrics-victoriametrics-dev - 1.79.14+ds1-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: golang-github-victoriametrics-victoriametrics-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast, cost-effective and scalable time series database (library) | https://github.com/VictoriaMetrics/VictoriaMetrics
- Ubuntu apt - victoria-metrics - 1.79.14+ds1-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: victoria-metrics from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast, cost-effective and scalable time series database | https://github.com/VictoriaMetrics/VictoriaMetrics
- apk - victoria-metrics - 1.136.14-r0: installed executable or alias match | Alpine Linux edge package indexes: victoria-metrics from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast, cost-effective and scalable time series database (LTS) | https://github.com/VictoriaMetrics/VictoriaMetrics
- apk - victoria-metrics-backup-tools - 1.136.14-r0: installed executable or alias match | Alpine Linux edge package indexes: victoria-metrics-backup-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast, cost-effective and scalable time series database (LTS) (vmbackup, vmrestore) | https://github.com/VictoriaMetrics/VictoriaMetrics
- apk - victoria-metrics-openrc - 1.136.14-r0: installed executable or alias match | Alpine Linux edge package indexes: victoria-metrics-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast, cost-effective and scalable time series database (LTS) (OpenRC init scripts) | https://github.com/VictoriaMetrics/VictoriaMetrics
- apk - victoria-metrics-tools - 1.136.14-r0: installed executable or alias match | Alpine Linux edge package indexes: victoria-metrics-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast, cost-effective and scalable time series database (LTS) (vmagent, vmalert, vmauth, vmctl) | https://github.com/VictoriaMetrics/VictoriaMetrics


## Combined YAML source

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


## Sources

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