commands.sh

mamba

all

Fast, cross-platform package manager, intended as a drop-in replacement for conda. Some subcommands such as `repoquery` have their own usage documentation. See also: `conda`.

More info →

Options (5)

-n, --nameboolean

Create a new environment, installing the specified packages into it

Example: mamba create {{[-n|--name]}} {{environment_name}} {{python=3.10 matplotlib}}
-c, --channelboolean

Install packages into the current environment, specifying the package channel

Example: mamba install {{[-c|--channel]}} {{conda-forge}} {{python=3.6 numpy}}
-a, --allboolean

Update all packages in the current environment

Example: mamba update {{[-a|--all]}}
-e, --envsboolean

List all environments

Example: mamba info {{[-e|--envs]}}
boolean

Remove unused packages and tarballs from the cache

Example: mamba clean {{[-pt|--packages --tarballs]}}

Examples (8)

Create a new environment, installing the specified packages into it

mamba create [-n|--name] environment_name python=3.10 matplotlib

Install packages into the current environment, specifying the package channel

mamba install [-c|--channel] conda-forge python=3.6 numpy

Update all packages in the current environment

mamba update [-a|--all]

Search for a specific package across repositories

mamba repoquery search numpy

List all environments

mamba info [-e|--envs]

Remove unused packages and tarballs from the cache

mamba clean [-pt|--packages --tarballs]

Activate an environment

mamba activate environment_name

List all installed packages in the currently activated environment

mamba list
made by @shridhargupta | data from tldr-pages