Search Shortcut cmd + k | ctrl + k
DuckDB Preview (Alpha/Nightly) Installation

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.4: the LTS release.
  • v1.5: the current stable DuckDB release.
  • v2.0: the next DuckDB version, in an early stage of the development.

Note that for most users, we recommend the 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.4-dev

pip install "duckdb<1.5.0" --pre --upgrade

Python v1.5-dev

pip install "duckdb<1.6.0" --pre --upgrade

Python v2.0-dev

pip install duckdb --pre --upgrade

Command Line Interface (CLI) Client

v1.5-dev CLI

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

v2.0-dev CLI

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

Warning Extensions are not yet available for the Windows client. Stay tuned!

Java

The following Maven snippet imports the latest version of the Java package. To determine the version number, please visit the latest CI builds and search for a Java JDBC task that succeeded. In that job, consult the Maven S3 Deploy job's Deploy snapshot to S3 task.

Maven

<dependencies>
    <dependency>
        <groupId>org.duckdb</groupId>
        <artifactId>duckdb_jdbc</artifactId>
        <version>2.0.0-alpha43385-881</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.0-alpha43385-881'
}

Gradle (Kotlin)

repositories {
    maven {
        url = uri("https://duckdb-staging.duckdb.org/duckdb/duckdb-java/maven/")
    }
}

dependencies {
    implementation("org.duckdb:duckdb_jdbc:2.0.0-alpha43385-881")
}

Direct Download

duckdb_jdbc-2.0.0-alpha43385-881.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 / 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.