{"schemaVersion":"1.0","record":{"label":"Mamba","description":"Conda-compatible package and environment manager with C++ implementation.","aliases":["micromamba"],"kind":"software","website":"https://mamba.readthedocs.io/","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.","license":"BSD-3-Clause","lifecycle":"active","example":false,"features":[{"name":"Conda package compatibility","status":"supported","detail":"Uses Conda packages and supports most Conda-style commands.","useCase":"Dependency and environment management","platforms":["Windows","macOS","Linux"],"region":"Package availability and runtime requirements apply","evidence":[{"url":"https://mamba.readthedocs.io/en/latest/","locator":"Conda package compatibility; platforms; component names","retrievedAt":"2026-10-07T04:32:14Z","kind":"vendor"}]},{"name":"Legacy Python API migration","status":"limited","detail":"Version 2 removed the old import mamba code; libmambapy interfaces also changed.","useCase":"Dependency and environment management","platforms":["Windows","macOS","Linux"],"region":"Package availability and runtime requirements apply","evidence":[{"url":"https://mamba.readthedocs.io/en/latest/developer_zone/changes-2.0.html","locator":"Executable implementation; removed import mamba; libmambapy changes","retrievedAt":"2026-10-07T04:32:42Z","kind":"vendor"}]}],"alternatives":[],"slug":"mamba","draftAlternatives":[{"targetSlug":"conda","status":"limited","detail":"Replaces many common environment operations; specialized CLI and Python integrations need review.","useCase":"Dependency and environment management","platforms":["Windows","macOS","Linux"],"region":"Package availability and runtime requirements apply","evidence":[{"url":"https://mamba.readthedocs.io/en/latest/user_guide/mamba.html","locator":"CLI overlap; specification formats; conda also uses Mamba solver","retrievedAt":"2026-10-07T04:35:01Z","kind":"vendor"},{"url":"https://mamba.readthedocs.io/en/latest/developer_zone/changes-2.0.html","locator":"Executable implementation; removed import mamba; libmambapy changes","retrievedAt":"2026-10-07T04:32:42Z","kind":"vendor"}]}],"evidence":[{"url":"https://mamba.readthedocs.io/en/latest/","locator":"Conda package compatibility; platforms; component names","retrievedAt":"2026-10-07T04:32:14Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/mamba-org/mamba/blob/main/LICENSE","locator":"BSD three-clause license","retrievedAt":"2026-10-07T04:32:28Z","id":"mamba-license","title":"Mamba license","kind":"vendor"},{"url":"https://mamba.readthedocs.io/en/latest/","locator":"Conda package compatibility; platforms; component names","retrievedAt":"2026-10-07T04:32:14Z","id":"mamba","title":"Mamba documentation","kind":"vendor"},{"url":"https://mamba.readthedocs.io/en/latest/user_guide/mamba.html","locator":"CLI overlap; specification formats; conda also uses Mamba solver","retrievedAt":"2026-10-07T04:35:01Z","id":"mamba-guide","title":"Mamba user guide","kind":"vendor"},{"url":"https://mamba.readthedocs.io/en/latest/developer_zone/changes-2.0.html","locator":"Executable implementation; removed import mamba; libmambapy changes","retrievedAt":"2026-10-07T04:32:42Z","id":"mamba-two","title":"Mamba 2 migration","kind":"vendor"},{"url":"https://mamba.readthedocs.io/en/latest/user_guide/configuration.html","locator":"Configuration sources and precedence; introductory mamba-specific text predates version 2","retrievedAt":"2026-10-07T04:35:01Z","id":"mamba-config","title":"Mamba configuration","kind":"vendor"},{"url":"https://docs.conda.io/projects/conda/en/stable/user-guide/concepts/channels.html","locator":"Channel selection; default repository may require paid license","retrievedAt":"2026-10-07T04:33:17Z","id":"conda-channel","title":"Conda channels","kind":"vendor"}],"overviewCitations":["mamba"],"licenseCitations":["mamba-license"],"sections":[{"id":"workflow","heading":"Environment operations","paragraphs":[{"id":"workflow-detail","content":[{"text":"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."}],"citations":["mamba-guide"]}]},{"id":"specifications","heading":"Environment specifications","paragraphs":[{"id":"specifications-detail","content":[{"text":"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."}],"citations":["mamba-guide"]}]},{"id":"migration","heading":"Version 2 changes","paragraphs":[{"id":"migration-detail","content":[{"text":"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."}],"citations":["mamba-two"]}]},{"id":"configuration","heading":"Configuration sources","paragraphs":[{"id":"configuration-detail","content":[{"text":"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."}],"citations":["mamba-config","mamba-two"]}]},{"id":"licensing","heading":"License and package sources","paragraphs":[{"id":"licensing-detail","content":[{"text":"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."}],"citations":["mamba-license","conda-channel"]}]},{"id":"substitution","heading":"Substitution considerations","paragraphs":[{"id":"substitution-detail","content":[{"text":"Mamba can replace "},{"text":"Conda","targetSlug":"conda"},{"text":" 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."}],"citations":["mamba-guide","mamba-two"]}]}]},"id":"Q389","revision":375,"updatedAt":"2026-10-11T20:36:49Z","sourceUrl":"https://substitutefor.net/entities/Q389?revision=375"}}