DuckDB CLI

DuckDB·DuckDB.cli

DuckDB is an in-process SQL OLAP Database Management System

DuckDB is a high-performance analytical database system. It is designed to be fast, reliable and easy to use. DuckDB provides a rich SQL dialect, with support far beyond basic SQL.

winget install --id DuckDB.cli --exact --source winget

Latest 1.5.4·June 17, 2026

Release Notes

This is a bug fix release for various issues discovered after we released v1.5.3. Please also refer to the announcement blog post: https://duckdb.org/2026/06/17/announcing-duckdb-154.html What's Changed

  • backport 22094 by @artjomPlaunov in #22136
  • backport 21815 & 21427 by @artjomPlaunov in #22137
  • remove CleanupState destructor and remove noexcept on DuckCleanupInfo… by @artjomPlaunov in #22186
  • Backport revert append fix to v1.4 by @Mytherin in #22414
  • Backport windows-32bit test fix to 1.4 by @staticlibs in #22639
  • Fix TemporaryFileManager reported size to reflect live blocks by @DinosL in #22767
  • Set query text on PIVOT MultiStatement sub-statements at construction by @bleskes in #22769
  • Fix double free and memory leak in Arrow GeoArrow CRS serialization by @rustyconover in #21854
  • Render MAP values as valid SQL in Value::ToSQLString() by @carlopi in #22815
  • Remove time-out waiting for terminal background color by @Mytherin in #22838
  • Fix WindowSelfJoinOptimizer ignore exception by @qsliu2017 in #22800
  • fix progress bar output and crash when piping SQL by @DinosL in #22836
  • Internal #9438: TopN Window Projections by @hawkfish in #22851
  • Fix: check if ParseFormatSpecifier returns unrecognized format by @DinosL in #22850
  • Issue #22791: Window Self-Join Limits by @hawkfish in #22844
  • [Backport] Column-level metadata loading and serialization by @ywelsch in #22768
  • Fix json_keys with wildcard paths by @feichai0017 in #22855
  • Fix: JSON add list type check by @DinosL in #22862
  • Use committed row count in RowGroupReorderer by @lnkuiper in #22884
  • Fix geometry stats checkpointing when no changes are detected by @Maxxen in #22882
  • Check for nullptr expressions in deserialized JSON by @lnkuiper in #22906
  • Add vacuum_rebuild_indexes as an (experimental) ATTACH option by @evertlammerts in #22690
  • Use non-deleted row count in RowGroupReorderer by @lnkuiper in #22911
  • Validate width/scale in duckdb_create_decimal_type and duckdb_create_decimal by @mlafeldt in #22905
  • Bump httpfs to fix CI by @sebastiaan-dev in #22817
  • Update vortex extension by @samansmink in #22930
  • Fix alias propagation when replacement scan is wrapped in SubqueryRef by @truffle-dev in #22852
  • Rowgroup index append by @artjomPlaunov in #22940
  • Bump Julia to v1.5.3 by @carlopi in #22804
  • Make url a value, not a const ref by @NiclasHaderer in #22953
  • fix(adbc): support StatementExecuteSchema of ADBC 1.1.0 by @eitsupi in #22965
  • Fix partial column metadata reuse bug by @ywelsch in #22994
  • bump avro hash for 1.4.5 by @djouallah in #22952
  • Add avro and unity_catalog to extension list by @d-justen in #22948
  • Fix case-insensitive column match in INSERT ... SELECT ON CONFLICT by @remsky in #22825
  • Normalize db_type to lowercase on ATTACH, apply extension aliases on compare by @carlopi in #22758
  • MERGE INTO: only consider target table when binding WHEN NOT MATCHED and source table when binding WHEN NOT MATCHED BY TARGET by @Mytherin in #23014
  • In the optimistic writer always start a new row group after merging by @Mytherin in #22997
  • Merge Into: Avoid recursively binding in the ProjectionBinder by @Mytherin in #23022
  • Rename emscripten action in v1.5 by @smvv in #23044
  • Rename emscripten action in v1.4 by @smvv in #23045
  • Fix VARIANT cast reading wrong rows under a filter by @mlafeldt in #23031
  • fix(adbc): implement ADBC 1.1.0 Rich Error Metadata API by @eitsupi in #23073
  • Add v1.4.5 to storage version map by @carlopi in #23081
  • Merge v1.4-andium into v1.5-variegata, and add storage versions v1.4.5 and v1.5.4 by @carlopi in #23082
  • Backport PR #22348 to andium by @carlopi in #23084
  • Backport variegata bugfixes into andium by @carlopi in #23085
  • Bump vortex in andium by @carlopi in #23091
  • Bump lance in variegata by @carlopi in #23094
  • Bump vortex in variegata by @carlopi in #23096
  • Bump extensions to v1.4-andium by @carlopi in #23090
  • v1.5-variegata: bump extensions by @carlopi in #23089
  • Fix Parquet thrift byte order on windows + relax geometry stats pruning by @Maxxen in #23095
  • fix(adbc): fill metadata of GetObjects by @eitsupi in #23110
  • backport GetLocalFileSystem improvements to andium by @ccfelius in #23130
  • Reject NULL json key by @dentiny in #23116
  • Fix windows last modification timestamp by @dentiny in #23136
  • Fix: ignore_errors silently accepting invalid json by @DinosL in #23137
  • [v1.5] Backport external file cache fix by @dentiny in #23132
  • Internal #9375: PRAGMA enum NULL by @hawkfish in #23146
  • Clarify BIGNUM C API data is big endian by @mlafeldt in #23127
  • Allow array type for array_to_json by @dentiny in #23129
  • Fix json argument order affecting result by @DinosL in #23144
  • Fix #21931: avoid trying to bind an expression that doesn't exist in UNPIVOT by @Mytherin in #23156
  • Fix RowGroup assertion by @ywelsch in #23155
  • Upgrade ducklake for release by @pdet in #23182
  • Update Postgres, SQLite and ODBC in 1.5 by @staticlibs in #23172
  • Fix native geometry parquet stats pruning and add OPERATOR_ROW_GROUPS_SCANNED to parquet reader by @Maxxen in #23140
  • Expose bytes to parquet variant function by @Tmonster in #23057
  • Minor fixes by @DinosL in #23162
  • Bump aws extension by @ccfelius in #23170
  • Merge v1.4-andium into v1.5-variegata by @carlopi in #23171
  • Backport to variegata some isolated fixes by @carlopi in #23175
  • Fix: guard againt null row group reorder stats by @DinosL in #23189
  • bump iceberg by @Tmonster in #23192
  • Replace ARTConflictType::TRANSACTION with fatal exception by @artjomPlaunov in #23193
  • [Dev] Fix variant shredding analysis logic discrepancy with shredded writing by @Tishj in #23194
  • Initialize all BaseStatistics members and zero stats_union by @krlmlr in #23202
  • Initialize TransactionContext::invalidation_policy and auto_rollback by @krlmlr in #23203
  • Fix selection vector use in Arrow extension callbacks by @evertlammerts in #23190
  • Add hardening to many DuckDB/Parquet decompression/deserializing paths by @Tishj in #23100
  • Out-of-line SelectionData destructor to silence g++-16 -Warray-bounds by @krlmlr in #23204
  • Bump quack to 9ac6521f712812cc6f2e58815ef0a6c85c5e06e0 by @carlopi in #23178
  • Fix crash when storage path is not set by @guillesd in #23174
  • Zero the inlined buffer in string_t's length-only constructor by @krlmlr in #23201
  • [Dev] Fix "environment variable already defined" error in sqllogictest when test_env is used by @Tishj in #21305
  • parquet: initialize ParquetReader::rows_read by @krlmlr in #23205
  • Bump quack no patches by @carlopi in #23210
  • bump delta & unity for 1.5.4 by @benfleis in #23212
  • Bump DuckLake by @pdet in #23226
  • Bump httpfs for variegata by @carlopi in #23215
  • Hopefully fix timeouts on v1.5-variegata by @lnkuiper in #23224
  • Variant fixes by @DinosL in #23195
  • Fix VARIANT shredding, avoid including empty object keys by @Tishj in #23213
  • Remove checked_array_iterator from fmt dep (1.5) by @staticlibs in #23238
  • [Dev] Add missing ORDER BY ALL or rowsort to merge into tests by @Tishj in #23258
  • Cherry picks on variegata by @carlopi in #23262
  • Bump vortex to 275ac230e1d9afd08926b6989ec2467f92fae6e3 by @carlopi in #23263
  • Add explicit -dark-mode and -light-mode options to the CLI, and improve terminal background color detection by @Mytherin in #23246
  • Fix gzip compression write overflow by @dentiny in #23232
  • Bump iceberg for v1.5.4 by @Tmonster in #23225
  • Trim the system heap in the allocator flush path on jemalloc builds by @JelteF in #23253
  • Backport loop in sleep_ms by @DinosL in #23245
  • Fix NULL propagation for date parts of infinite dates by @DinosL in #23254
  • [Dev][Parquet][VARIANT] Fix problem with re-use of cached transform data for differently shredded files by @Tishj in #23234
  • bump iceberg by @Tmonster in #23277
  • Fix more geom stats by @Maxxen in #23295 Full Changelog: v1.5.3...v1.5.4

Installer type: zip

ArchitectureScopeDownloadSHA256
x64Download09E27C773EAAB396754CBAA8FDBC5055C0006DB4A579439839C7BB671894610F
arm64DownloadEF9925EAB44F01D3A885FA5E612D1E27E692C0AA8F25F20599D0FFFB42D8D29C

Details

Homepage
https://github.com/duckdb/duckdb
License
MIT
Publisher
DuckDB
Support
https://github.com/duckdb/duckdb/issues
Copyright
Copyright (c) Stichting DuckDB Foundation
Moniker
duckdb-cli

Tags

analyticsdatabaseembedded-databaseolapsql

Older versions (29)

1.5.3
ArchitectureScopeDownloadSHA256
x64Download2ABA634FAB91B3CB3F88CB7A75A9539B47EF240A76F4D4FF8D1E48821C8CCD7F
arm64DownloadCBD135F2999CC75F77B8F4A511E7D2365FA4A77CDC805C439DE303380EF0EAB4
1.5.2
ArchitectureScopeDownloadSHA256
x64DownloadD7B4F5774419C2E9EB14CB7361D3488821EF0244F8AF461FD2C6FCB6F43BC3E0
arm64Download7908E22D25E6991F45E895B1613277E2A600EEC6721253F45CE10CDE6A3FFDAF
1.5.1
ArchitectureScopeDownloadSHA256
x64Download22CC4B9DCFFE6B01300D2E78B5918A13CF4335305FEC854A9277DB3BBF2E4A83
arm64DownloadF60B55F069F8A950CA8C61464AF23F5D3D9DDC2B82152D6F55AD060F7EC6A436
1.5.0
ArchitectureScopeDownloadSHA256
x64Download90D5187208939CFFCE62736C7293D7EFB25AED057C23AFB5A17296C1A2C236DE
arm64Download6F61ECFEAF12F3D72EC3909BED2D436B1BEC3A07CB00FEC58084C1E5EC73BFFD
1.4.4
ArchitectureScopeDownloadSHA256
x64DownloadCD24E5736AC69A33DC1411209F161DED5595FFC578E3CF016474346C64A87F5E
arm64DownloadED4B333A0BFD783137F47421F49E35F5998461C47C2A1283E5FF17A5FCF5E511
1.4.3
ArchitectureScopeDownloadSHA256
x64Download6AF7C45F38D764D1C8345F1CB1B1F2D07D779E11125DDF5DCA7F2DFDF50EFC7E
arm64DownloadDA59FB52AC8B9C0D71E1B0030A6C3A4BDD71A5F026DD52A76623BDABA72AAC73
1.4.2
ArchitectureScopeDownloadSHA256
x64Download2A31D67CF54AEC3494FB331147EDDDFEE1CD7F3FADCB5B84056F9BC28CF76576
arm64Download56965CAA343D1C2914BF372E1FA2ED2A5842B081DA2252FF93A9ABC99744AB55
1.4.1
ArchitectureScopeDownloadSHA256
x64Download3FAB5174658BF16189C80EAA047B3E7737847491C9E4433A985ADF014618CBD9
arm64DownloadB753187A285F491BF7E2DFBB0B893F551390806F6944D9F1764A7AA7E69D9DBB
1.4.0
ArchitectureScopeDownloadSHA256
x64DownloadEFCEAB16ECE9E6BE24DDD1CE82A58CA23D27BC4C5DEFBEA40E3BCB82ADEED41A
arm64Download53437F18D671A14A09CF742A5CD18F006AFAB0212C9A655F9D922E12C84505EB
1.3.2
ArchitectureScopeDownloadSHA256
x64Download0F20F96CC83540817E9E42F88D1F62E5452A9A2B4FCDEF7F97CFC94A971D313F
arm64DownloadC8093EF9BDFA27D06B3F4F3D9A858044B7EAC07E6A799012F5F722DC07242EB8
1.3.1
ArchitectureScopeDownloadSHA256
x64DownloadA9F51426860649158C3D89A04FA7C741343C545237CED49C60CF67E065E9C828
arm64DownloadD9282EC79ABA34E9E60F3B0976AD71D4E8B7EDF3367E9583787735E2B4A00A20
1.3.0
ArchitectureScopeDownloadSHA256
x64DownloadA04F7BDC21F077A4F7CE931D8DE85F3606A46663F6CA413D3142DF22A856D895
arm64DownloadBA3EE68D776F5207FC96C8F06C71CCBF0CF430B0048691E01CB8AE16624953D2
1.2.2
ArchitectureScopeDownloadSHA256
x64Download9D35FBA121F011B06D5F256C2AC351AE5C2468DE8156524C75082B2E4A810FFE
arm64Download65670F613560F49D8652200079254C37F16A21FDDDF5303C401817AED82137D7
1.2.1
ArchitectureScopeDownloadSHA256
x64DownloadB0A7B85409F2AECF8535CB7DAA8A29D9325B62850E5A24752A7146C65E3A32EB
arm64DownloadC2532524A6AA13C13FB3C3CCB5F8BAC7DD68B0BC7EE31C2DEAB8E41355C81B46
1.2.0
ArchitectureScopeDownloadSHA256
x64Download3F3194799C1F289FF570CEF9191168EA5D6743202D4445DD6D5EE669A8586435
arm64DownloadF0AE6C1BF95DB9D8BA5BAA59145F64B64C26B9E20E19F76B8FB30F44CDFD1FFE
1.1.3
ArchitectureScopeDownloadSHA256
x64DownloadD98F8163D5FD631EEDBD6C868AEC77A825EA05294DB10BDDE79C08D97790B514
arm64Download6E0F6B58822EC85A743160F9B13E20919100C317D3150047F1B22779EB3250E7
1.1.2
ArchitectureScopeDownloadSHA256
x64Download4526171D1FC43C9BD68BD23483BC60B94FC2C7A2B3BB78F1C3CD7D90ED2091D4
arm64Download0d1fa973a31ff9c7b8075473a9f2546d154e1f17b755defdfbf049b2aacbf961
1.1.1
ArchitectureScopeDownloadSHA256
x64DownloadE8347A5EE6954282A09FDF3B8D475CD090094F15A1B6C42991ABEFC88582D64A
1.1.0
ArchitectureScopeDownloadSHA256
x64Download220C451966F086794744BFC28ED1A3395B85B60B6CBB797D1869ADA564BE2676
1.0.0
ArchitectureScopeDownloadSHA256
x64DownloadEBFB73DA9496F476832BD71396F0F8589A0A3198066EC7620FB71D57E1AF7274
0.10.3
ArchitectureScopeDownloadSHA256
x64DownloadECFBAE45236F0BC6FF580CAEEA6E89B2E83C7B587ED0CC34B1F6687649C95546
0.10.2
ArchitectureScopeDownloadSHA256
x64DownloadD2CAD4404BBCC0F39DBDED02DE623794D8439EEA034B3153C0DA51F04E59520D
0.10.1
ArchitectureScopeDownloadSHA256
x64DownloadA5D84EA867EEAA81AE849E0FC0D9201A1EF167BD382FC68531A202682F8CF0C4
0.10.0
ArchitectureScopeDownloadSHA256
x64Download2F8D446B47ECBFFDEACE97CAA4D3D8501B6572BBB50D00D8F862012437E147BA
0.9.2
ArchitectureScopeDownloadSHA256
x64Download880FE01FF24A13DDEA8A9609A4BA0CEFFD246A9D497A345EFC406CC1792445E4
0.9.1
ArchitectureScopeDownloadSHA256
x64DownloadDE03D0A9EF676C4A04249E15DF1823063D489385C9D639A10B4F3F00B2C11493
0.9.0
ArchitectureScopeDownloadSHA256
x64Download177C49B1AC45D7E158824DCE5EB65B0506B5FA06B66BC72A75081A525E73C909
0.8.1
ArchitectureScopeDownloadSHA256
x86Download12B98191CCC58A78B01967EF5ADC3F4259A0A4AFC6ECEA10E97033F27501A55F
x64Download1E882F21115D44D34BB8DC853FD05338A46D5EE089E62FDF2CAB98F8455A9921
0.8.0
ArchitectureScopeDownloadSHA256
x86Download5ECC36FD23C0763EFD077102D310E1C19C151BC3FA34043B709B68646E875B6D
x64Download0B56BC5BB1BA3B87D7D510AE7CDE8FFBD9D62D186BA4BA9F251612EE07F1ECDC