# 使用 Homebrew, apk, dnf 安装 keydb

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install keydb
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add keydb
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:keydb
- **软件包管理器:** Homebrew
- **版本:** 6.3.4
- **来源摘要:** Multithreaded fork of Redis
- **主页:** <https://keydb.dev>
- **仓库:** <https://github.com/Snapchat/KeyDB>
- **最后更新:** 2026-08-02T01:26:52+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- keydb-benchmark (别名)
- keydb-check-aof (别名)
- keydb-check-rdb (别名)
- keydb-cli (别名)
- keydb-sentinel (别名)
- keydb-server (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 6.3.4
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

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

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.

### 时间线

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

### 来源

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


## 安全说明

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

- **Geiger 风险:** blue / 中
- 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
## 其他软件包管理器记录

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


## 来源

- 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
