# Mamba

Conda\-compatible package and environment manager with C\+\+ implementation\.

ID: Q389 · Revision: 375

Type: software · License: BSD\-3\-Clause[^mamba-license] · Status: active

Website: https://mamba.readthedocs.io/



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\.[^mamba]

## 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\.[^mamba-guide]

## 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\.[^mamba-guide]

## 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\.[^mamba-two]

## 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\.[^mamba-config][^mamba-two]

## 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\.[^mamba-license][^conda-channel]

## Substitution considerations

Mamba can replace [Conda](/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\.[^mamba-guide][^mamba-two]

## Capabilities and substitutions

### Conda package compatibility — supported

Uses Conda packages and supports most Conda\-style commands\.[^mamba]

Use case: Dependency and environment management · Platforms: Windows, macOS, Linux · Region: Package availability and runtime requirements apply

### Legacy Python API migration — limited

Version 2 removed the old import mamba code; libmambapy interfaces also changed\.[^mamba-two]

Use case: Dependency and environment management · Platforms: Windows, macOS, Linux · Region: Package availability and runtime requirements apply

### [Substitute for Conda](/conda) — limited

Replaces many common environment operations; specialized CLI and Python integrations need review\.[^mamba-guide][^mamba-two]

Use case: Dependency and environment management · Platforms: Windows, macOS, Linux · Region: Package availability and runtime requirements apply

## References

[^mamba-license]: [Mamba license](<https://github.com/mamba-org/mamba/blob/main/LICENSE>) — BSD three\-clause license (vendor; retrieved 2026-10-07T04:32:28Z)

[^mamba]: [Mamba documentation](<https://mamba.readthedocs.io/en/latest/>) — Conda package compatibility; platforms; component names (vendor; retrieved 2026-10-07T04:32:14Z)

[^mamba-guide]: [Mamba user guide](<https://mamba.readthedocs.io/en/latest/user_guide/mamba.html>) — CLI overlap; specification formats; conda also uses Mamba solver (vendor; retrieved 2026-10-07T04:35:01Z)

[^mamba-two]: [Mamba 2 migration](<https://mamba.readthedocs.io/en/latest/developer_zone/changes-2.0.html>) — Executable implementation; removed import mamba; libmambapy changes (vendor; retrieved 2026-10-07T04:32:42Z)

[^mamba-config]: [Mamba configuration](<https://mamba.readthedocs.io/en/latest/user_guide/configuration.html>) — Configuration sources and precedence; introductory mamba\-specific text predates version 2 (vendor; retrieved 2026-10-07T04:35:01Z)

[^conda-channel]: [Conda channels](<https://docs.conda.io/projects/conda/en/stable/user-guide/concepts/channels.html>) — Channel selection; default repository may require paid license (vendor; retrieved 2026-10-07T04:33:17Z)

Source revision: https://substitutefor.net/entities/Q389?revision=375
