# 使用 Homebrew, Nix 安装 druid

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

## 安装

```sh
sudo av install brew:druid
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install druid
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#druid
```

  证据: nixpkgs package indexes: pkgs/by-name/dr/druid/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:druid
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/druid>
- **版本:** 37.0.0
- **来源摘要:** High-performance, column-oriented, distributed data store
- **主页:** <https://druid.apache.org/>
- **仓库:** <https://github.com/apache/druid>
- **上游文档:** <https://druid.apache.org/docs/latest>
- **许可证:** Apache-2.0
- **源码归档:** <https://www.apache.org/dyn/closer.lua?path=druid/37.0.0/apache-druid-37.0.0-bin.tar.gz>
- **最后更新:** 2026-06-22T14:03:12-07:00
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- druid-broker.sh (cli)
- druid-coordinator.sh (cli)
- druid-historical.sh (cli)
- druid-jconsole.sh (cli)
- druid-middleManager.sh (cli)
- druid-node.sh (cli)
- druid-overlord.sh (cli)
- druid-router.sh (cli)
- druid-broker.sh (别名)
- druid-coordinator.sh (别名)
- druid-historical.sh (别名)
- druid-jconsole.sh (别名)
- druid-middleManager.sh (别名)
- druid-node.sh (别名)
- druid-overlord.sh (别名)
- druid-router.sh (别名)

## 依赖

- openjdk@21

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 37.0.0
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://druid.apache.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Apache Druid is a high-performance real-time analytics database aimed at fast ingestion, low-latency OLAP queries, operational dashboards, and high-concurrency analytical applications. In package-manager terms, the Homebrew formula is less a tiny CLI utility and more a local entry point into a distributed data system with multiple node-role scripts.

### 项目历史

Druid entered the Apache Incubator on February 28, 2018. During incubation, source control moved to ASF Git/GitHub, incubating releases were cut in 2018 and 2019, and the project graduated as an Apache top-level project on December 18, 2019.

The current Apache Druid repository and website present Druid as a real-time analytics database with native ingestion, SQL/native query support, a web console, APIs, and deployment paths for local, Docker, and Kubernetes environments.

### 采用历史

Druid adoption is tied to workloads that need fast ingest plus interactive analytical queries, especially dashboards, operational analytics, and user-facing data applications. Its Apache governance, public mailing lists, Slack/community pages, official Docker image, and separate Kubernetes operator are signals of an ecosystem beyond a single package.

### 使用方式

The Homebrew package exposes scripts for Druid process roles such as broker, coordinator, historical, middleManager, overlord, router, and node. Users typically start with the quickstart or Docker/Kubernetes deployment paths, then configure runtime properties under the documented `conf/druid` layout.

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

Druid is significant to package maintainers because it stretches the definition of a package: installing it gives local executables, but the software is really a cluster with role-specific daemons, config trees, Java runtime requirements, web UI, APIs, and external integrations. It is a reminder that data infrastructure packages often package orchestration entry points as much as binaries.

### 时间线

- 2018-02-28: Druid enters the Apache Incubator.
- 2018-07-06: Druid source control moves to ASF Git/GitHub.
- 2018-12-12: Druid 0.13.0-incubating is released.
- 2019-04-09: Druid 0.14.0-incubating is released.
- 2019-12-18: Druid graduates as an Apache top-level project.
- Docs era: Apache Druid publishes docs, quickstarts, Docker guidance, and a separate Kubernetes operator.

### Related projects

- Apache Druid Operator is maintained separately for Kubernetes deployments.
- The Druid website source is maintained separately from the main code repository.
- Druid commonly integrates with streaming and batch ingestion systems and exposes HTTP and JDBC query APIs.

### 来源

- <https://incubator.apache.org/projects/druid.html>
- <https://druid.apache.org/>
- <https://druid.apache.org/docs/latest/>
- <https://github.com/apache/druid>
- <https://github.com/apache/druid/blob/master/README.md>
- <https://github.com/apache/druid-operator>


## 安全说明

没有找到 druid 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: conf/druid/_common/common.runtime.properties, conf/druid/_common/log4j2.xml, conf/druid/broker/runtime.properties, conf/druid/coordinator/runtime.properties, conf/druid/historical/runtime.properties, conf/druid/middleManager/runtime.properties, conf/druid/overlord/runtime.properties
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** druid
- **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

## 其他软件包管理器记录

- Nix - druid: normalized package name match | nixpkgs package indexes: pkgs/by-name/dr/druid/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/zh-hans/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [openjdk@21](https://www.automicvault.com/zh-hans/pkg/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [duckdb](https://www.automicvault.com/zh-hans/pkg/brew/duckdb/) - Shares av.db curated category or tags: analytics, cli, data, database, olap.
- [pinot](https://www.automicvault.com/zh-hans/pkg/brew/pinot/) - Shares av.db curated category or tags: analytics, cli, data, database, olap.
- [questdb](https://www.automicvault.com/zh-hans/pkg/brew/questdb/) - Shares av.db curated category or tags: cli, data, database, olap.
- [apache-arrow](https://www.automicvault.com/zh-hans/pkg/brew/apache-arrow/) - Shares av.db curated category or tags: analytics, cli, data.
- [automysqlbackup](https://www.automicvault.com/zh-hans/pkg/brew/automysqlbackup/) - Shares av.db curated category or tags: cli, data, database.
- [basex](https://www.automicvault.com/zh-hans/pkg/brew/basex/) - Shares av.db curated category or tags: cli, data, database.
- [berkeley-db](https://www.automicvault.com/zh-hans/pkg/brew/berkeley-db/) - Shares av.db curated category or tags: cli, data, database.
- [cayley](https://www.automicvault.com/zh-hans/pkg/brew/cayley/) - Shares av.db curated category or tags: cli, data, database.
- [valkey](https://www.automicvault.com/zh-hans/pkg/brew/valkey/) - Local metadata places this package in an adjacent workflow. Shared terms: broker, cli, data, database, high.

## Combined YAML source

View the package source record on GitHub. [combined/druid.yml](https://github.com/automic-vault/db/blob/main/combined/druid.yml)


## 来源

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