software · Q389
Mamba
Conda-compatible package and environment manager with C++ implementation.
Overview
Mamba is a package and environment manager in the Conda ecosystem. It works with Conda packages and supports most Conda-style commands on Windows, macOS and Linux. The project includes the mamba and micromamba executables, the libmamba C++ library and Python bindings, which have related but distinct integration roles.[2]
Environment operations
Mamba creates environments, adds packages and runs commands within a selected environment, including without prior shell activation. Its guide describes broad command overlap with Conda while acknowledging differences, so existing automation needs review.[3]
Environment specifications
Mamba accepts package lists, Conda YAML, explicit artifact specifications and conda-lock YAML. Explicit specifications pin versions and builds for a single platform; unified conda-lock files can cover several platforms. These formats preserve different information and should not be treated as equivalent records.[3]
Version 2 changes
Mamba 2 replaced the earlier Python-based executable with a dynamically linked counterpart of micromamba. The migration guide says the executables now share the same interface, while the old Python code accessed through import mamba was removed. Python integrations use libmambapy and must account for its changed interfaces. Shell-command compatibility does not establish Python-API compatibility.[4]
Configuration sources
The configuration reference describes settings from configuration files, environment variables and command-line arguments. Scalar values take the highest-priority setting, while sequence values are combined by precedence. This can matter for channel lists: a command-line entry need not mean that every lower-priority configured source disappears. The reference's introductory mamba-specific description predates the version 2 implementation change.[4][5]
License and package sources
Mamba uses a BSD three-clause license. Its ability to install Conda packages does not replace the terms of the channels or the licenses of individual packages. Choosing a client and choosing a repository are separate decisions; the Conda documentation identifies public, private and local channel arrangements.[1][6]
Substitution considerations
Mamba can replace Conda for many environment operations while retaining package formats. Conda itself can use Mamba's solver, so historical speed comparisons do not describe every current installation. Specialized commands and integrations need separate verification.[3][4]
Capabilities & limitations
Conda package compatibility
supportedUses Conda packages and supports most Conda-style commands.[2]
Dependency and environment management · Windows, macOS, Linux · Package availability and runtime requirements apply
1 source · check evidence
Conda package compatibility; platforms; component names
vendor · checked 2026-10-07Legacy Python API migration
limitedVersion 2 removed the old import mamba code; libmambapy interfaces also changed.[4]
Dependency and environment management · Windows, macOS, Linux · Package availability and runtime requirements apply
1 source · check evidence
Executable implementation; removed import mamba; libmambapy changes
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
References
- Mamba license
BSD three-clause license
vendor · retrieved 2026-10-07 - Mamba documentation
Conda package compatibility; platforms; component names
vendor · retrieved 2026-10-07 - Mamba user guide
CLI overlap; specification formats; conda also uses Mamba solver
vendor · retrieved 2026-10-07 - Mamba 2 migration
Executable implementation; removed import mamba; libmambapy changes
vendor · retrieved 2026-10-07 - Mamba configuration
Configuration sources and precedence; introductory mamba-specific text predates version 2
vendor · retrieved 2026-10-07 - Conda channels
Channel selection; default repository may require paid license
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 375 | 2026-10-11 20:36:49 | /* wbeditentity-create-item:0| */ sf:5af46191-f315-4576-8b5f-65daea62825f:v1 | Add Mamba with cited dependency workflows, lockfile portability and migration limits; no package installation or execution performed. | attribution: /proposals/5af46191-f315-4576-8b5f-65daea62825f |