If you use conda
, you should use mamba
. What is mamba
then? The website describes it as:
A Python-based CLI conceived as a drop-in replacement for conda, offering higher speed and more reliable environment solutions
So you install mamba
into your conda
environment and for certain commands where you would
use conda
you use mamba
instead. The parameters are effectively the same.
So when you want to Create an enviroment:
conda create -n myenv -c bioconda samtools# becomesmamba create -n myenv -c bioconda samtools
Install software:
conda install bqplot# becomesmamba install bqplot
Remove software:
conda remove bqplot# becomesmamba remove bqplot
As you can see, it's pretty much substitute conda
for mamba
. The outcome is
exactly the same, except the install time is much faster.
I usually keep seperate enviroments for each project, so I first create the
enviroment with conda
with mamba
installed and then I switch to using mamba
like the examples above. e.g.
conda create -n myenv mambaconda activate myenvmamba install prokka
Questions or comments? @ me on Twitter @happy_khan
The banner image is an AI generated picture (Midjourney) with prompt; 'linux'. You can share and adapt this image following a CC BY-SA 4.0 licence