mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-09 21:58:01 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,15 +11,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create a new environment at a specific path, installing named packages into it:
|
||||
|
||||
`micromamba create {{[-p|--prefix]}} {{/path/to/env}} {{python=3.11 numpy}}`
|
||||
`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}}`
|
||||
`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/}}`
|
||||
`micromamba run {{[-p|--prefix]}} /{{path/to/env}} {{pytest tests/}}`
|
||||
|
||||
- Install packages into the currently active environment:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user