Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

42
mamba Normal file
View File

@@ -0,0 +1,42 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# mamba
> Fast, cross-platform package manager, intended as a drop-in replacement for conda.
> Some subcommands such as `mamba repoquery` have their own usage documentation.
> More information: <https://mamba.readthedocs.io/en/latest/user_guide/mamba.html>.
- Create a new environment, installing the specified packages into it:
`mamba create --name {{environment_name}} {{python=3.10 matplotlib}}`
- Install packages into the current environment, specifying the package [c]hannel:
`mamba install -c {{conda-forge}} {{python=3.6 numpy}}`
- Update all packages in the current environment:
`mamba update --all`
- Search for a specific package across repositories:
`mamba repoquery search {{numpy}}`
- List all environments:
`mamba info --envs`
- Remove unused [p]ackages and [t]arballs from the cache:
`mamba clean -pt`
- Activate an environment:
`mamba activate {{environment_name}}`
- List all installed packages in the currently activated environment:
`mamba list`