Skip to content

Commit d748f65

Browse files
download.rst: add instructions to install via pixi (fixes OSGeo#11551) (OSGeo#11802)
1 parent 5248a30 commit d748f65

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

doc/source/download.rst

+26-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Windows
7777
................................................................................
7878

7979
Windows builds are available via `Conda Forge`_ (64-bit only). See the
80-
:ref:`conda` section for more detailed information. GDAL is also distributed
80+
:ref:`conda` or :ref:`pixi` section for more detailed information. GDAL is also distributed
8181
by `GISInternals`_ and `OSGeo4W`_ and through the `NuGet`_ and :ref:`vcpkg` package managers.
8282

8383
.. _`Conda Forge`: https://anaconda.org/conda-forge/gdal
@@ -211,6 +211,31 @@ Then install GDAL from the ``gdal-master`` channel:
211211
mamba install -c gdal-master gdal
212212
mamba install -c gdal-master libgdal-arrow-parquet # if you need the Arrow and Parquet drivers
213213

214+
.. _pixi:
215+
216+
pixi
217+
^^^^
218+
219+
`Pixi <https://pixi.sh/latest/>`__ is a package management tool for developers. It allows the developer
220+
to install libraries and applications in a reproducible way. Packages for GDAL are
221+
available through the `conda-forge <https://anaconda.org/conda-forge/gdal>`__ channel.
222+
223+
If you want to be able to use GDAL as part of a project:
224+
225+
::
226+
227+
pixi init name-of-project
228+
cd name-of-project
229+
pixi add gdal libgdal-core
230+
pixi add libgdal-arrow-parquet # if you need the Arrow and Parquet drivers
231+
pixi shell
232+
233+
Pixi supports using tools like GDAL and OGR globally, similar to conda's base environment, without having to use an activate command:
234+
235+
::
236+
237+
pixi global install gdal libgdal-core
238+
pixi global install libgdal-arrow-parquet # if you need the Arrow and Parquet drivers
214239

215240
.. _vcpkg:
216241

doc/source/spelling_wordlist.txt

+2
Original file line numberDiff line numberDiff line change
@@ -2413,6 +2413,8 @@ Pirmin
24132413
pixelfunction
24142414
pixelfunctions
24152415
pixelsize
2416+
pixi
2417+
Pixi
24162418
Pixmap
24172419
pkgconfig
24182420
pkid

0 commit comments

Comments
 (0)