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
- Open a command prompt
- Navigate to your folder where duckdb.exe is. Ex:
CD C:\temp\ - Type
duckdb -uiand press<Enter> - 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")