# 使用 Homebrew, Nix 安装 datafusion

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

## 安装

```sh
sudo av install brew:datafusion
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install datafusion
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#datafusion-cli
```

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

## 软件包事实

- **软件包键:** brew:datafusion
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/datafusion>
- **版本:** 54.1.0
- **来源摘要:** Apache Arrow DataFusion and Ballista query engines
- **主页:** <https://arrow.apache.org/datafusion>
- **仓库:** <https://github.com/apache/datafusion>
- **上游文档:** <https://arrow.apache.org/datafusion>
- **许可证:** Apache-2.0
- **源码归档:** <https://www.apache.org/dyn/closer.lua?path=datafusion/datafusion-54.1.0/apache-datafusion-54.1.0.tar.gz>
- **最后更新:** 2026-07-21T19:01:07Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- datafusion-cli (cli)
- datafusion-cli (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

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

Apache DataFusion is an extensible Rust query engine built on Apache Arrow for SQL, DataFrame, and embedded analytic workloads.

### 项目历史

The official introduction says DataFusion originated as part of Apache Arrow and is now presented as Apache DataFusion with its own site, user guide, CLI documentation, subprojects, and release documentation. The project provides libraries and binaries for building database and analytic systems.

### 采用历史

The official user guide lists active projects using DataFusion, including stream-processing engines, SQL query engines, lakehouse tooling, search and analytics systems, and language bindings. This makes DataFusion both a library dependency and a foundation for newer data systems.

### 使用方式

Developers embed DataFusion as a Rust query engine, use its SQL and DataFrame APIs, or run `datafusion-cli` to query data formats such as CSV and Parquet from a command line.

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

DataFusion matters to package people because it packages a modern analytical query planner and execution engine as Rust crates and a CLI, sitting at the intersection of Apache Arrow, SQL engines, and embeddable database components.

### 时间线

- 2021: The standalone apache/datafusion repository has 4.0.0 tag history after DataFusion originated in Apache Arrow.
- 2026: Official documentation lists the 50.x through 55.x release series and related DataFusion subprojects.

### Related projects

- Related official projects include Apache Arrow, DataFusion Python, DataFusion Java, DataFusion Comet, and DataFusion Ballista.

### 来源

- <https://datafusion.apache.org/>
- <https://datafusion.apache.org/user-guide/introduction.html>
- <https://datafusion.apache.org/user-guide/cli/index.html>
- <https://github.com/apache/datafusion>
- <https://github.com/apache/datafusion/releases/tag/4.0.0>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

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

- Nix - datafusion-cli: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/da/datafusion-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [roapi](https://pkg.so/zh-hans/brew/roapi/) - Shares pkgdb curated category or tags: apache-arrow, cli, data, query-engine, sql.
- [turso](https://pkg.so/zh-hans/brew/turso/) - Shares pkgdb curated category or tags: cli, data, rust, sql.
- [trino](https://pkg.so/zh-hans/brew/trino/) - Shares pkgdb curated category or tags: cli, data, query-engine, sql.
- [anyquery](https://pkg.so/zh-hans/brew/anyquery/) - Shares pkgdb curated category or tags: cli, data, query-engine, sql.
- [prqlc](https://pkg.so/zh-hans/brew/prqlc/) - Shares pkgdb curated category or tags: cli, data, rust, sql.
- [rsql](https://pkg.so/zh-hans/brew/rsql/) - Shares pkgdb curated category or tags: cli, data, rust, sql.
- [apache-drill](https://pkg.so/zh-hans/brew/apache-drill/) - Shares pkgdb curated category or tags: cli, data, query-engine, sql.
- [sqlite](https://pkg.so/zh-hans/brew/sqlite/) - Shares pkgdb curated category or tags: cli, data, sql.
- [apache-arrow](https://pkg.so/zh-hans/brew/apache-arrow/) - Local package facts share a topical domain. Shared terms: apache, apache-arrow, arrow, cli, data.
- [datafusion](https://pkg.so/zh-hans/cargo/datafusion/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

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


## 来源

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