mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 15:35:25 +02:00
micromamba: add page (#16586)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
0f47999ae8
commit
57046dab13
1 changed files with 37 additions and 0 deletions
37
pages/common/micromamba.md
Normal file
37
pages/common/micromamba.md
Normal file
|
@ -0,0 +1,37 @@
|
|||
# micromamba
|
||||
|
||||
> A fast, minimal, standalone package and environment manager for `conda` packages.
|
||||
> Drop-in replacement for `conda`, ideal for CI, Docker, and lightweight setups.
|
||||
> More information: <https://manned.org/micromamba>.
|
||||
|
||||
- Create a new environment at a specific path, installing named packages into it:
|
||||
|
||||
`micromamba create {{[-p|--prefix]}} {{/path/to/env}} {{python=3.11 numpy}}`
|
||||
|
||||
- Activate an environment by name or path:
|
||||
|
||||
`micromamba activate {{[-p|--prefix]}} {{/path/to/env}}`
|
||||
|
||||
- Run a command inside an environment without activating it in the shell:
|
||||
|
||||
`micromamba run {{[-p|--prefix]}} {{/path/to/env}} {{pytest tests/}}`
|
||||
|
||||
- Install packages into the currently active environment:
|
||||
|
||||
`micromamba install {{scipy pandas}}`
|
||||
|
||||
- List all installed packages in the current environment:
|
||||
|
||||
`micromamba list`
|
||||
|
||||
- Search for packages in channels or current environment:
|
||||
|
||||
`micromamba search {{package_name}}`
|
||||
|
||||
- Query tree-like dependencies of a package:
|
||||
|
||||
`micromamba repoquery depends {{[-t|--tree]}} {{package_name}}`
|
||||
|
||||
- Show information about the current `micromamba` setup:
|
||||
|
||||
`micromamba info`
|
Loading…
Add table
Reference in a new issue