# Install keydb with Homebrew, apk, dnf

Multithreaded fork of Redis. Version 6.3.4 via Homebrew; verified 2026-08-02. Also installable with apk: sudo apk add keydb.

## Install

```sh
sudo av install brew:keydb
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install keydb
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add keydb
```

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

- dnf (92%):

```sh
sudo dnf install keydb
```

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

## Package facts

- **Package key:** brew:keydb
- **Package manager:** Homebrew
- **Version:** 6.3.4
- **Source summary:** Multithreaded fork of Redis
- **Homepage:** <https://keydb.dev>
- **Repository:** <https://github.com/Snapchat/KeyDB>
- **Last updated:** 2026-08-02T01:26:52+09:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- keydb-benchmark (alias)
- keydb-check-aof (alias)
- keydb-check-rdb (alias)
- keydb-cli (alias)
- keydb-sentinel (alias)
- keydb-server (alias)

## Install behavior

- Bottle: not available

## Freshness

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

KeyDB is a high-performance fork of Redis focused on multithreading, memory efficiency, high throughput, and Redis protocol compatibility. It is historically significant because it pursued technical changes that Redis users wanted for multi-core machines while trying to remain a drop-in replacement.

### Project history

KeyDB started in early 2019 as an experiment to add multithreading support to Redis. Its maintainers turned that experiment into an open-source database with active replication, FLASH storage, subkey expiry, and MVCC features layered onto Redis-compatible commands, modules, transactions, and scripts.

The project joined Snap in May 2022. The announcement said Snap gave KeyDB a long-term home and merged the previously Enterprise codebase into one BSD-3-Clause open-source project.

### Adoption history

KeyDB grew by appealing to Redis operators who wanted more throughput per node without forcing every deployment into sharding. The 2022 Snap announcement said the project had passed 3 million downloads since launch, showing adoption beyond a small fork experiment.

### How it is used

Users deploy KeyDB as a Redis-compatible server, often testing it where single-node Redis CPU limits, active-active replication, or non-blocking scan behavior matter. The command-line package includes server, CLI, benchmark, sentinel, and database-check utilities mirroring familiar Redis operational workflows.

### Why package nerds care

KeyDB is a classic package-manager fork story: same protocol and much of the same operational muscle memory, but a different performance architecture and governance path. For maintainers it also intersects with Redis-compatible alternatives such as Valkey, Dragonfly, and Redict after Redis licensing and ecosystem changes made fork lineage especially visible.

### Timeline

- 2019: KeyDB began as an experiment to add multithreading support to Redis.
- 2019-08: KeyDB documentation described active replication for read/write replicas and simpler failover setups.
- 2019-10: KeyDB published benchmark-oriented documentation presenting it as a multithreaded Redis fork.
- 2022-05-12: KeyDB joined Snap and consolidated enterprise features into the BSD-licensed open-source project.
- 2024: Redis-compatible forks and alternatives became more prominent after Redis licensing changes, making KeyDB part of a broader replacement discussion.

### Related projects

- KeyDB is directly related to Redis, Redis Sentinel, Redis Cluster, Valkey, Dragonfly, and Redict. Its differentiators are multithreaded execution, active replication, MVCC-assisted scans, and compatibility with Redis clients and modules.

### Sources

- <https://docs.keydb.dev/blog/2019/10/07/blog-post/>
- <https://docs.keydb.dev/docs>
- <https://docs.keydb.dev/docs/active-rep/>
- <https://docs.keydb.dev/docs/mvcc/>
- <https://docs.keydb.dev/news/2022/05/12/keydb-joins-snap/>
- <https://github.com/Snapchat/KeyDB>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## 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

- Unix: keydb.conf, /etc/keydb/6379.conf
## Other Package-Manager Records

- apk - keydb - 6.3.4-r0: normalized package name match | Alpine Linux edge package indexes: keydb from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | High performance multithreaded fork of Redis | https://keydb.dev
- apk - keydb-benchmark - 6.3.4-r0: normalized package name match | Alpine Linux edge package indexes: keydb-benchmark from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | KeyDB benchmarking tool | https://keydb.dev
- apk - keydb-cli - 6.3.4-r0: normalized package name match | Alpine Linux edge package indexes: keydb-cli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | KeyDB CLI client | https://keydb.dev
- apk - keydb-openrc - 6.3.4-r0: normalized package name match | Alpine Linux edge package indexes: keydb-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | High performance multithreaded fork of Redis (OpenRC init scripts) | https://keydb.dev
- dnf - keydb - 6.3.4-7.fc44: normalized package name match | Fedora Rawhide package metadata: keydb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Multithreaded Fork of Redis | https://keydb.dev/
- dnf - keydb-devel - 6.3.4-7.fc44: normalized package name match | Fedora Rawhide package metadata: keydb-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development header for Redis module development | https://keydb.dev/


## Combined YAML source

View the package source record on GitHub. [combined/keydb.yml](https://github.com/mxcl/pkgdb/blob/main/combined/keydb.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
