Alpha releases currently cannot load community extensions.
The preview (nightly) builds provide development versions of DuckDB. As such, they are constantly in flux and they are less suitable for production use than the stable releases of DuckDB. You should only use these releases if you are looking for recent bugfixes or optimizations.
There are currently the following DuckDB versions under development:
- v1.5: a regular release with extended support to allow users sufficient time to transition to v2.0.
- v2.0: an LTS release.
- v2.1: the upcoming DuckDB version, in an early stage of the development. See the roadmap for a list of upcoming features, which include
MATCH_RECOGNIZEsupport, better error messages, and improved memory allocation.
Note that for most users, we recommend stable DuckDB releases.
Python
For Python, we distribute different nightly builds. Note that not all of them are available at all times and a few days can be skipped when nightly builds fail.
Python v1.5-dev
pip install "duckdb<1.6.0" --pre --upgrade
Python v2.0-dev
pip install "duckdb<2.1.0" --pre --upgrade
Python v2.1-dev
pip install duckdb --pre --upgrade
Command Line Interface (CLI) Client
CLI v1.5-dev
To download the v1.5-dev command line client, use the following links:
| Platform | Architecture | v1.5-dev CLI client |
|---|---|---|
| Linux | arm64 |
zip |
| Linux | x86_64 |
zip |
| macOS | arm64 / x86_64 |
zip |
| Windows | arm64 / x86_64 |
zip |
CLI v2.0-dev
v2.0-dev macOS and Linux Install Script
To install the preview build on Linux and macOS, run:
curl https://install.duckdb.org | DUCKDB_VERSION=alpha bash
v2.0-dev Windows PowerShell Script
To install the preview build on Windows, run:
$env:DUCKDB_VERSION = "alpha"; irm https://install.duckdb.org/install.ps1 | iex
v2.0-dev CLI Packages
To download the v2.0-dev command line client, use the following links:
| Platform | Architecture | v2.0-dev CLI client |
|---|---|---|
| Linux | arm64 |
tar.gz |
| Linux | x86_64 |
tar.gz |
| macOS | arm64 / x86_64 |
tar.gz |
| Windows | arm64 |
tar.gz |
| Windows | x86_64 |
tar.gz |
CLI v2.1-dev
To download the v2.1-dev command line client, use the following links:
| Platform | Architecture | v2.1-dev CLI client |
|---|---|---|
| Linux | arm64 |
tar.gz |
| Linux | x86_64 |
tar.gz |
| macOS | arm64 / x86_64 |
tar.gz |
| Windows | arm64 |
tar.gz |
| Windows | x86_64 |
tar.gz |
Java
The following snippets import the latest preview builds of the Java package.
To determine the version number, please visit the latest CI builds and search for a Java JDBC task that succeeded on the v2.0-cyanoptera branch (for v2.0-dev) or the main branch (for v2.1-dev).
In that job, consult the Maven S3 Deploy job's Deploy snapshot to S3 task and find the version tag, e.g., 2.0.1-alpha52096-944.
Java v2.0-dev
Maven
<dependencies>
<dependency>
<groupId>org.duckdb</groupId>
<artifactId>duckdb_jdbc</artifactId>
<version>2.0.1-alpha52096-944</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>duckdb</id>
<url>https://duckdb-staging.duckdb.org/duckdb/duckdb-java/maven/</url>
</repository>
</repositories>
Gradle (Groovy)
repositories {
maven {
url 'https://duckdb-staging.duckdb.org/duckdb/duckdb-java/maven/'
}
}
dependencies {
implementation 'org.duckdb:duckdb_jdbc:2.0.1-alpha52096-944'
}
Gradle (Kotlin)
repositories {
maven {
url = uri("https://duckdb-staging.duckdb.org/duckdb/duckdb-java/maven/")
}
}
dependencies {
implementation("org.duckdb:duckdb_jdbc:2.0.1-alpha52096-944")
}
Direct Download
duckdb_jdbc-2.0.1-alpha52096-944.jar
Java v2.1-dev
Maven
<dependencies>
<dependency>
<groupId>org.duckdb</groupId>
<artifactId>duckdb_jdbc</artifactId>
<version>2.1.0-alpha52095-929</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>duckdb</id>
<url>https://duckdb-staging.duckdb.org/duckdb/duckdb-java/maven/</url>
</repository>
</repositories>
Gradle (Groovy)
repositories {
maven {
url 'https://duckdb-staging.duckdb.org/duckdb/duckdb-java/maven/'
}
}
dependencies {
implementation 'org.duckdb:duckdb_jdbc:2.1.0-alpha52095-929'
}
Gradle (Kotlin)
repositories {
maven {
url = uri("https://duckdb-staging.duckdb.org/duckdb/duckdb-java/maven/")
}
}
dependencies {
implementation("org.duckdb:duckdb_jdbc:2.1.0-alpha52095-929")
}
Direct Download
duckdb_jdbc-2.1.0-alpha52095-929.jar
ODBC
For ODBC, the preview builds are based on the main branch of the duckdb/duckdb-odbc repository.
| Platform | Architecture | ODBC client |
|---|---|---|
| Linux | arm64 |
zip |
| Linux | x86_64 |
zip |
| macOS | arm64 |
zip |
| macOS | x86_64 |
zip |
| Windows | arm64 |
zip |
| Windows | x86_64 |
zip |
R
In R, run the following to install the latest DuckDB from source based on the main branch of the duckdb/duckdb-r repository.
install.packages("pak")
pak::pak("duckdb/duckdb-r")
C/C++ Libraries
v1.5-dev C/C++ Libraries
To download the C/C++ libraries, use the following links:
| Platform | Architecture | v1.5-dev C/C++ library |
|---|---|---|
| Linux | arm64 |
zip |
| Linux | x86_64 |
zip |
| macOS | arm64 / x86_64 |
zip |
| Windows | arm64 / x86_64 |
zip |
v2.0-dev C/C++ Libraries
To download the v2.0-dev C/C++ libraries, use the following links:
| Platform | Architecture | v2.0-dev C/C++ library |
|---|---|---|
| Linux | arm64 |
tar.gz |
| Linux | x86_64 |
tar.gz |
| macOS | arm64 / x86_64 |
tar.gz |
| Windows | arm64 |
tar.gz |
| Windows | x86_64 |
tar.gz |
Node.js (Neo)
For the DuckDB Node Neo driver, the nightly release is currently not available.