Skip to main content

Install and upgrade

Preview
This feature is in preview and is subject to change.

Quick install

curl -s https://install.motherduck.com | SKIP_DUCKDB_CLI=1 sh

Runs on Apple silicon (aarch64) and Intel (x86_64).

The installer downloads the build for your platform, installs it under ~/.motherduck/, and puts it on your PATH.

Open a new shell so the PATH change applies, then check the install:

motherduck --version
note

The MotherDuck CLI bundles the DuckDB library. The minimal version of DuckDB bundled is 1.5.5.

Windows without PowerShell

On hosts where PowerShell's execution policy blocks the quick install, install.bat installs the DuckDB CLI only, then points at the PowerShell installer for the MotherDuck CLI:

curl -sfL -o install.bat https://install.motherduck.com/install.bat && install.bat

It can't detect ARM64 or install the MotherDuck CLI, so use the PowerShell script wherever you can.

Upgrade

motherduck upgrade

Replaces the MotherDuck CLI binary on your PATH. It does not upgrade the DuckDB CLI in ~/.duckdb/, which has its own version: update that through DuckDB's own installation. On a CLI that's already current, upgrade says so rather than downloading again.

Next steps