Mamba: Difference between revisions

From Stat DS Computing Wiki
Jacobg2 (talk | contribs)
Jacobg2 (talk | contribs)
No edit summary
Line 24: Line 24:
</syntaxhighlight>
</syntaxhighlight>


4. List all environments.
== Useful COmmands ==
 
List all environments.
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
mamba env list
mamba env list
</syntaxhighlight>
</syntaxhighlight>

Revision as of 14:39, 6 October 2025

Mamba is the new alternative to Conda. It functions similarly and is preinstalled on all Statistics & Data Science servers.


Installed at...

/opt/miniforge3/bin/mamba

Creating an Environment

1. Create a new Python environment by logging into a server and running the "create" command.

mamba create -n testenv1 python=3.11

2. Activate the environment.

mamba activate testenv1

3. Install packages to the environment.

mamba install pandas

Useful COmmands

List all environments.

mamba env list