User Guide#
The conda-rattler-solver plugin lets you use the solver that powers
pixi, directly in conda. The solver is called
resolvo, and it reaches conda
through the Rust-based rattler library
and its Python bindings, py-rattler.
Environments solve meaningfully faster with rattler, especially large or
complex ones, and your existing environments and workflows keep working.
Project status
conda-rattler-solver is conda’s default solver starting with conda 26.10.
How to install#
Conda 26.10 and later use conda-rattler-solver by default unless another solver is explicitly selected in your configuration.
conda-rattler-solver requires Python 3.11 or later. If you have a conda release older than 26.7, update conda first:
$ conda update -n base conda
If your installation does not include conda-rattler-solver, install it in
base using the libmamba solver:
$ conda install --solver libmamba -n base conda-rattler-solver
On conda 26.7 through 26.9, or if another solver is configured, select rattler:
$ conda config --set solver rattler
Development builds are published to the conda-canary channel under the dev
label:
$ conda install --solver libmamba -n base conda-canary/label/dev::conda-rattler-solver
Usage#
Try it on a single command#
The --solver flag is available for conda create, conda install,
conda remove, and conda update, and lets you use the solver without
changing your configuration:
$ conda install numpy --solver=rattler
The flag is also exposed as the CONDA_SOLVER environment variable, in case
you need that:
$ CONDA_SOLVER=rattler conda install numpy
Set it as the default#
For older conda versions, or to override an existing solver setting, add
solver: rattler to your .condarc file, either manually or with this command:
$ conda config --set solver rattler
Switching back#
If you ever need another solver temporarily, use the --solver flag:
$ conda install numpy --solver=libmamba
To revert the default configuration, remove the solver key:
$ conda config --remove-key solver
On conda 26.10 and later, conda then falls back to its own default, which is
rattler; older releases fall back to libmamba. You can also make a different
choice explicit with conda config --set solver libmamba.
Tip
If you are unsure what configuration is being used by conda, you can inspect
it with conda config --show-sources.