Skip to content

Commit daa2d31

Browse files
committed
Add pip install option
1 parent 33ac842 commit daa2d31

1 file changed

Lines changed: 49 additions & 1 deletion

File tree

_includes/installation.html

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ <h4>Docker Image</h4>
109109
docker run --rm -it -v "$(pwd):/workspace" -w /workspace duckdb/duckdb
110110
{%- endhighlight -%}
111111

112+
<h4>Installation via Pip (Beta)</h4>
113+
114+
You can install the DuckDB CLI client via <a href="https://pip.pypa.io/en/stable/">Python's pip</a>:
115+
116+
{%- highlight bash -%}
117+
pip install duckdb-cli
118+
{%- endhighlight -%}
119+
112120
<h4>Direct Download</h4>
113121
{%- assign f = site.data.checksums_current.artifacts.cli.macos.x86_64.filename -%}
114122
<a href="https://install.duckdb.org/v{{ site.current_duckdb_version }}/{{ f }}" class="download-btn" download="{{ f }}" rel="noopener noreferrer">{{ f }}</a>
@@ -128,6 +136,14 @@ <h4>Direct Download</h4>
128136

129137
<div class="alternative">
130138

139+
<h4>Installation via Pip (Beta)</h4>
140+
141+
You can install the DuckDB CLI client via <a href="https://pip.pypa.io/en/stable/">Python's pip</a>:
142+
143+
{%- highlight bash -%}
144+
pip install duckdb-cli=={{ site.lts_duckdb_version }}
145+
{%- endhighlight -%}
146+
131147
<h4>Direct Download</h4>
132148
{%- assign f = site.data.checksums_lts.artifacts.cli.macos.x86_64.filename -%}
133149
<a href="https://install.duckdb.org/v{{ site.lts_duckdb_version }}/{{ f }}" class="download-btn" download="{{ f }}" rel="noopener noreferrer">{{ f }}</a>
@@ -147,6 +163,14 @@ <h4>Direct Download</h4>
147163

148164
<div class="alternative">
149165

166+
<h4>Installation via Pip (Beta)</h4>
167+
168+
You can install the DuckDB CLI client via <a href="https://pip.pypa.io/en/stable/">Python's pip</a>:
169+
170+
{%- highlight bash -%}
171+
pip install duckdb-cli
172+
{%- endhighlight -%}
173+
150174
<h4>Docker Image</h4>
151175
{%- highlight bash -%}
152176
docker run --rm -it -v "$(pwd):/workspace" -w /workspace duckdb/duckdb
@@ -175,6 +199,14 @@ <h4>Direct Downloads</h4>
175199

176200
<div class="alternative">
177201

202+
<h4>Installation via Pip (Beta)</h4>
203+
204+
You can install the DuckDB CLI client via <a href="https://pip.pypa.io/en/stable/">Python's pip</a>:
205+
206+
{%- highlight bash -%}
207+
pip install duckdb-cli=={{ site.lts_duckdb_version }}
208+
{%- endhighlight -%}
209+
178210
<h4>Direct Downloads</h4>
179211
{%- assign f_x86 = site.data.checksums_lts.artifacts.cli.linux.x86_64.filename -%}
180212
<a href="https://install.duckdb.org/v{{ site.lts_duckdb_version }}/{{ f_x86 }}" class="download-btn" download="{{ f_x86 }}" rel="noopener noreferrer">{{ f_x86 }}</a>
@@ -216,12 +248,20 @@ <h4>Package Manager</h4>
216248

217249
<h4>Installation Script (Beta)</h4>
218250

219-
You can install DuckDB with a script the Run menu or the Command Prompt. Please note that this script is in beta – exercise caution when using it.
251+
You can install the DuckDB CLI client with a script the Run menu or the Command Prompt. Please note that this script is in beta – exercise caution when using it.
220252

221253
{%- highlight powershell -%}
222254
powershell -NoExit iex (iwr "https://install.duckdb.org/install.ps1").Content
223255
{%- endhighlight -%}
224256

257+
<h4>Installation via Pip (Beta)</h4>
258+
259+
You can install the DuckDB CLI client via <a href="https://pip.pypa.io/en/stable/">Python's pip</a>:
260+
261+
{%- highlight bash -%}
262+
pip install duckdb-cli
263+
{%- endhighlight -%}
264+
225265
<h4>Docker Image (for WSL2)</h4>
226266

227267
{%- highlight bash -%}
@@ -256,6 +296,14 @@ <h4>Package Manager</h4>
256296
winget install DuckDB.cli --version {{ site.lts_duckdb_version }}
257297
{%- endhighlight -%}
258298

299+
<h4>Installation via Pip (Beta)</h4>
300+
301+
You can install the DuckDB CLI client via <a href="https://pip.pypa.io/en/stable/">Python's pip</a>:
302+
303+
{%- highlight bash -%}
304+
pip install duckdb-cli
305+
{%- endhighlight -%}
306+
259307
<h4>Docker Image (for WSL2)</h4>
260308

261309
{%- highlight bash -%}

0 commit comments

Comments
 (0)