Skip to main content

How To Install DuckDB

Installing DuckDB is fairly quick and easy since it is a single ~30MB file with no dependencies.

Installing the command line in Windows

The direct download link for x64 and arm64 is on the duckdb.org website

Unzip the duckdb.exe file and put it in C:\DuckDB\duckdb.exe or a location of your choice

Running the DuckDB Notebook from the Command Line

  1. Open a command prompt
  2. Navigate to your folder where duckdb.exe is.  Ex: CD C:\temp\
  3. Type duckdb -ui and press <Enter>
  4. Wait a few seconds for it to launch a page in your default web browser

 


Installing in Python or R

Using DuckDB in Python or R is the easiest way to work with data sets that are larger than your RAM.

Installing in Python

pip install duckdb

Mac users will need to use pip3 rather than pip.

Installing in R / RStudio

install.packages("duckdb")