LinuxCommandLibrary

mamba

Fast, cross-platform package manager, intended as a drop-in replacement for conda.

TLDR

Create a new environment, installing the specified packages into it

$ mamba create --name [environment_name] [python=3.10 matplotlib]
copy


Install packages into the current environment, specifying the package [c]hannel
$ mamba install -c [conda-forge] [python=3.6 numpy]
copy


Update all packages in the current environment
$ mamba update --all
copy


Search for a specific package across repositories
$ mamba repoquery search [numpy]
copy


List all environments
$ mamba info --envs
copy


Remove unused [p]ackages and [t]arballs from the cache
$ mamba clean -pt
copy


Activate an environment
$ mamba activate [environment_name]
copy


List all installed packages in the currently activated environment
$ mamba list
copy

Copied to clipboard