![Forrest logo](/images/logo.png)
On this page you find all important commands for the CLI tool mamba. If the
command you are looking for is missing please ask our AI.
mamba
Mamba is a high-performance command-line package manager for the Python programming language. It is designed as a drop-in replacement for the popular package manager, Conda.
- Developed by the creators of Conda, mamba aims to improve package installation speed and resolve dependency conflicts more efficiently.
- It utilizes multi-threading and C++ libraries to accelerate the installation process, making it significantly faster than the traditional Conda.
- Mamba is compatible with Conda environments, meaning existing Conda environments can be seamlessly transitioned to use mamba instead.
- It offers a user-friendly interface with several helpful features, such as progress bars, colorful outputs, and interactive prompts.
- Mamba supports both binary and source packages, providing flexibility in installation choices.
- The tool supports the installation of packages from channels like Anaconda, Conda-forge, and many others.
- It provides features for creating, activating, and managing virtual environments, similar to Conda.
- Mamba enables the creation of reproducible environments by allowing users to create YAML files specifying package dependencies.
- It offers extensive command-line options for managing packages, environments, and channels.
- Mamba is actively developed and frequently updated, ensuring continuous improvements, bug fixes, and compatibility with the latest Python ecosystem.
List of commands for mamba:
-
mamba-repoquery:tldr:9b335 mamba-repoquery: List the dependencies of a package installed in the currently activated environment, in a tree format.$ mamba repoquery depends --tree ${scipy}try on your machineexplain this command
-
mamba-repoquery:tldr:cc410 mamba-repoquery: Search for all packages satisfying specific constraints.$ mamba repoquery search ${sphinx<5}try on your machineexplain this command
-
mamba-repoquery:tldr:f3d61 mamba-repoquery: Print packages in the current environment that require a particular package to be installed (i.e. inverse of `depends`).$ mamba repoquery whoneeds ${ipython}try on your machineexplain this command
-
mamba:tldr:2254b mamba: Remove unused [p]ackages and [t]arballs from the cache.$ mamba clean -pttry on your machineexplain this command
-
mamba:tldr:31262 mamba: Install packages into the current environment, specifying the package [c]hannel.$ mamba install -c ${conda-forge} ${python=3-6 numpy}try on your machineexplain this command
-
mamba:tldr:41c66 mamba: List all environments.$ mamba info --envstry on your machineexplain this command
-
mamba:tldr:76ca6 mamba: Create a new environment, installing the specified packages into it.$ mamba create --name ${environment_name} ${python=3-10 matplotlib}try on your machineexplain this command
-
mamba:tldr:7ae2c mamba: Activate an environment.$ mamba activate ${environment_name}try on your machineexplain this command
-
mamba:tldr:a48d8 mamba: List all installed packages in the currently activated environment.$ mamba listtry on your machineexplain this command
-
mamba:tldr:ba015 mamba: Update all packages in the current environment.$ mamba update --alltry on your machineexplain this command