Skip to content

Commit a90cc39

Browse files
Merge pull request #43 from bioconda/docs/pixi
docs: add instructions for using bioconda with pixi
2 parents e8a73a5 + c23cb94 commit a90cc39

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

source/index.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,40 @@ biomedical research using the `conda <https://conda.io>`_ package manager.
2525
Usage
2626
=====
2727

28+
With Pixi
29+
---------
30+
31+
Pixi is a modern, extremely fast, frontend for conda packages and environments.
32+
First, `install pixi`_.
33+
Then, configure pixi to use bioconda in addition to it's default (`conda-forge`_)::
34+
35+
pixi config set default-channels '["conda-forge", "bioconda"]'
36+
37+
Afterwards, you can install any package from bioconda globally::
38+
39+
pixi global install <somepackage>
40+
41+
or locally into an environment associated with a directory::
42+
43+
cd myproject
44+
pixi init
45+
pixi add <somepackage>
46+
47+
While globally installed packages are available everywhere on your system,
48+
locally installed packages are only available when you activate the associated
49+
environment via::
50+
51+
pixi shell
52+
53+
in the respective directory.
54+
For more options and details see the `pixi documentation <https://pixi.sh>`__.
55+
56+
.. _`Install pixi`: https://pixi.sh/latest/installation
57+
.. _`conda-forge`: https://conda-forge.org/docs/index.html
58+
59+
With Conda
60+
----------
61+
2862
First, `install conda`_.
2963

3064
Then perform a one-time set up of Bioconda with the following commands. This

0 commit comments

Comments
 (0)