# 使用 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
- **版本:** 54.1.0
- **来源摘要:** Apache Arrow DataFusion and Ballista query engines
- **主页:** <https://arrow.apache.org/datafusion>
- **仓库:** <https://github.com/apache/datafusion>
- **最后更新:** 2026-07-21T19:01:07Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- datafusion-cli (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


## 相关链接

- [datafusion](https://pkg.so/zh-hans/pkg/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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
