⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
LOAD / INSTALL Statements

INSTALL

The INSTALL statement downloads an extension so it can be loaded into a DuckDB session.

Examples

Install the httpfs extension:

INSTALL httpfs;

Install the h3 community extension:

INSTALL h3 FROM community;

Syntax

LOAD

The LOAD statement loads an installed DuckDB extension into the current session.

When autoinstall_known_extensions is enabled (the default), LOAD first installs the extension if it is a known extension that is not yet installed, so an explicit INSTALL is not always required. Loading an extension also installs and loads any extensions it depends on. For example, loading iceberg also installs the avro extension that it depends on.

Examples

Load the httpfs extension:

LOAD httpfs;

Load the spatial extension:

LOAD spatial;

Syntax

© 2026 DuckDB Foundation, Amsterdam NL
DuckDB Home Code of Conduct Trademark Use Blog