# duckdb mit Homebrew, apk, MacPorts, Nix, pacman, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für duckdb in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:duckdb
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install duckdb
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install duckdb
```

  Evidenz: MacPorts ports tree: databases/duckdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add duckdb
```

  Evidenz: Alpine Linux edge package indexes: duckdb from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#duckdb
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/du/duckdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S duckdb
```

  Evidenz: Arch Linux sync databases: duckdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/duckdb
```

  Evidenz: Scoop official bucket manifest trees: bucket/duckdb.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id DuckDB.cli -e
```

  Evidenz: Windows Package Manager source index: DuckDB.cli from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:duckdb
- **Paketmanager:** Homebrew
- **Version:** 1.5.5
- **Quellzusammenfassung:** Embeddable SQL OLAP Database Management System
- **Homepage:** <https://www.duckdb.org>
- **Repository:** <https://github.com/duckdb/duckdb>
- **Zuletzt aktualisiert:** 2026-07-22T12:22:38Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- duckdb (Alias)
- duckdb_cli (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.5.5
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

- <https://github.com/duckdb/duckdb>
- <https://duckdb.org/why_duckdb.html>
- <https://duckdb.org/2024/06/03/announcing-duckdb-100.html>
- <https://duckdb.org/library/>
- <https://github.com/duckdb/duckdb/releases>


## Sicherheitshinweise

Für duckdb wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.



## 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: ~/.duckdbrc
## Andere Paketmanager-Einträge

- Nix - duckdb: normalized package name match | nixpkgs package indexes: pkgs/by-name/du/duckdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - duckdb - 1.5.5-r0: normalized package name match | Alpine Linux edge package indexes: duckdb from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | High-performance analytical database system | https://duckdb.org
- apk - duckdb-dev - 1.5.5-r0: normalized package name match | Alpine Linux edge package indexes: duckdb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | High-performance analytical database system (development files) | https://duckdb.org
- apk - duckdb-doc - 1.5.5-r0: normalized package name match | Alpine Linux edge package indexes: duckdb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | High-performance analytical database system (documentation) | https://duckdb.org
- apk - duckdb-libs - 1.5.5-r0: normalized package name match | Alpine Linux edge package indexes: duckdb-libs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | High-performance analytical database system (libraries) | https://duckdb.org
- pacman - duckdb - 1.5.5-1: normalized package name match | Arch Linux sync databases: duckdb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An analytical in-process SQL database management system | https://www.duckdb.org
- MacPorts - duckdb: normalized package name match | MacPorts ports tree: databases/duckdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/duckdb: normalized package name match | Scoop official bucket manifest trees: bucket/duckdb.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - DuckDB.cli: installed executable or alias match | Windows Package Manager source index: DuckDB.cli from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## Quellen

- 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
