Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, pacman, scoop, winget 安装 duckdb

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install duckdb

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install duckdb

MacPorts ports tree · databases/duckdb/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add duckdb

Alpine Linux edge package indexes · duckdb · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#duckdb

nixpkgs package indexes · pkgs/by-name/du/duckdb/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S duckdb

Arch Linux sync databases · duckdb · 来源: geo.mirror.pkgbuild.com

Windows

Scoop已验证 · 92%
scoop install main/duckdb

Scoop official bucket manifest trees · bucket/duckdb.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id DuckDB.cli -e

Windows Package Manager source index · DuckDB.cli · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Embeddable SQL OLAP Database Management System

命令和别名

  • duckdb
  • duckdb_cli

历史

项目历史与用法

DuckDB is an embeddable analytical SQL database, often described culturally as SQLite for analytics. It became important because it made columnar OLAP queries, Parquet/CSV exploration, and dataframe-adjacent SQL available as a local library and CLI rather than a server to deploy.

项目历史

DuckDB was created by database researchers Mark Raasveldt and Hannes Muehleisen and grew out of academic work on embedded analytics. The DuckDB site links its research lineage to the SIGMOD 2019 DuckDB demo and the CIDR 2020 embedded analytics paper.

The project deliberately borrowed the embedded, zero-server deployment model made famous by SQLite, but targeted analytical query workloads instead of transactional application storage. Its documentation emphasizes no external runtime dependencies, portability across major operating systems and CPU architectures, and a columnar-vectorized execution engine for OLAP.

Over time DuckDB expanded from a C++ database engine and CLI into a multi-language analytical component with clients for Python, R, Java, Wasm, and other environments. That made it part database, part data-science runtime building block.

采用历史

Early adoption came from data scientists and engineers who wanted fast local SQL over CSV, Parquet, pandas, Arrow, and data lake files without running a database server. The official README highlights deep integrations with pandas and dplyr, plus standalone CLI usage.

DuckDB's 1.0.0 release in June 2024 was a major adoption milestone because the project used it to signal stability for production use. By then, it had already become a common dependency in notebooks, local analytics scripts, ETL checks, and data toolchains.

Package-manager adoption is broad: the package appears in Homebrew, Linux distributions, Nix, MacPorts, Arch, Scoop, and winget-style Windows packaging. That matters because the CLI is often used directly by people inspecting files at the shell.

使用方式

Typical usage includes ad hoc SQL over CSV and Parquet files, embedding an analytical engine in Python or R, running local transformations before loading data elsewhere, and querying data lake files through extensions such as httpfs and S3 support.

The CLI gives package users a small, scriptable database shell. The library APIs make the same engine available inside applications, notebooks, and data pipelines.

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

DuckDB is one of the clearest modern examples of a package whose CLI understates its ecosystem impact. The Homebrew formula installs a command, but the project is also a database engine, language bindings ecosystem, extension platform, and data tooling dependency.

For package metadata, DuckDB is significant because its category is not just database-server software. It is an embedded OLAP engine whose distribution model looks like SQLite, whose usage overlaps with pandas/Arrow/Parquet workflows, and whose package-manager footprint signals mainstream adoption in local analytics.

时间线

  • 2019: DuckDB: An Embeddable Analytical Database appears as a SIGMOD demo.
  • 2020: Data Management for Data Science - Towards Embedded Analytics appears at CIDR.
  • 2020: Public 0.1.x releases appear in the GitHub release history.
  • 2022: DuckDB-Wasm is presented as a VLDB demo, extending DuckDB into browser-based analytics.
  • 2024: DuckDB 1.0.0 is announced as the first stable major release.

Related projects

  • SQLite is the central architectural comparison point for DuckDB's embedded model, while MonetDB, PostgreSQL, and vectorized analytical engines are part of its database lineage and testing/reference context.
  • DuckDB is closely related in usage to Apache Arrow, pandas, dplyr, Parquet, MotherDuck, and DuckDB-Wasm; these projects and integrations explain much of its adoption outside traditional database administration.

安全态势

尚未找到受保护工具覆盖

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

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
~/.duckdbrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
duckdbcli全局可执行文件
duckdb_clicli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.5.5
管理器更新时间2026-07-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/duckdb/duckdb

安装元数据

软件包元数据

软件包键brew:duckdb
版本1.5.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/duckdb
主页https://www.duckdb.org
仓库https://github.com/duckdb/duckdb
上游文档https://duckdb.org/docs
许可证MIT
源码归档https://github.com/duckdb/duckdb.git
最后更新2026-07-22T12:22:38Z
Pulseupdated
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameduckdb
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

duckdb

nix profile install nixpkgs#duckdb
  • normalized package name match
  • 匹配方式:Duckdb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/du/duckdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

duckdb 1.5.2-r0

High-performance analytical database system

https://duckdb.org

sudo apk add duckdb
  • License: MIT
  • Architecture: x86_64
  • Source Package: duckdb
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Duckdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duckdb from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

duckdb-dev 1.5.2-r0

High-performance analytical database system (development files)

https://duckdb.org

sudo apk add duckdb-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: duckdb
  • 1 依赖
  • normalized package name match
  • 匹配方式:Duckdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duckdb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

duckdb-doc 1.5.2-r0

High-performance analytical database system (documentation)

https://duckdb.org

sudo apk add duckdb-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: duckdb
  • normalized package name match
  • 匹配方式:Duckdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duckdb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

duckdb-libs 1.5.2-r0

High-performance analytical database system (libraries)

https://duckdb.org

sudo apk add duckdb-libs
  • License: MIT
  • Architecture: x86_64
  • Source Package: duckdb
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Duckdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duckdb-libs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

duckdb 1.5.3-1

An analytical in-process SQL database management system

https://www.duckdb.org

sudo pacman -S duckdb
  • License: MIT
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Duckdb
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: duckdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

duckdb

sudo port install duckdb
  • normalized package name match
  • 匹配方式:Duckdb
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/duckdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/duckdb

scoop install main/duckdb
  • normalized package name match
  • 匹配方式:Duckdb
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/duckdb.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget92%

DuckDB.cli

winget install --id DuckDB.cli -e
  • installed executable or alias match
  • 匹配方式:Duckdb Cli
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: DuckDB.cli from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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