Forrest logo
tool overview
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.

  1. Developed by the creators of Conda, mamba aims to improve package installation speed and resolve dependency conflicts more efficiently.
  2. It utilizes multi-threading and C++ libraries to accelerate the installation process, making it significantly faster than the traditional Conda.
  3. Mamba is compatible with Conda environments, meaning existing Conda environments can be seamlessly transitioned to use mamba instead.
  4. It offers a user-friendly interface with several helpful features, such as progress bars, colorful outputs, and interactive prompts.
  5. Mamba supports both binary and source packages, providing flexibility in installation choices.
  6. The tool supports the installation of packages from channels like Anaconda, Conda-forge, and many others.
  7. It provides features for creating, activating, and managing virtual environments, similar to Conda.
  8. Mamba enables the creation of reproducible environments by allowing users to create YAML files specifying package dependencies.
  9. It offers extensive command-line options for managing packages, environments, and channels.
  10. 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 machine
    explain this command
  • mamba-repoquery:tldr:cc410 mamba-repoquery: Search for all packages satisfying specific constraints.
    $ mamba repoquery search ${sphinx<5}
    try on your machine
    explain 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 machine
    explain this command
  • mamba:tldr:2254b mamba: Remove unused [p]ackages and [t]arballs from the cache.
    $ mamba clean -pt
    try on your machine
    explain 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 machine
    explain this command
  • mamba:tldr:41c66 mamba: List all environments.
    $ mamba info --envs
    try on your machine
    explain 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 machine
    explain this command
  • mamba:tldr:7ae2c mamba: Activate an environment.
    $ mamba activate ${environment_name}
    try on your machine
    explain this command
  • mamba:tldr:a48d8 mamba: List all installed packages in the currently activated environment.
    $ mamba list
    try on your machine
    explain this command
  • mamba:tldr:ba015 mamba: Update all packages in the current environment.
    $ mamba update --all
    try on your machine
    explain this command
tool overview