mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 19:38:56 +08:00
conda-env: add page (#17755)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# conda env
|
||||
|
||||
> Manage conda environments.
|
||||
> More information: <https://docs.conda.io/projects/conda/en/latest/commands/env/index.html>.
|
||||
|
||||
- Create an environment from an environment file (YAML, TXT, etc.):
|
||||
|
||||
`conda env create {{[-f|--file]}} {{path/to/file}}`
|
||||
|
||||
- Delete an environment and everything in it:
|
||||
|
||||
`conda env remove {{[-n|--name]}} {{environment_name}}`
|
||||
|
||||
- Update an environment based on an environment file:
|
||||
|
||||
`conda env update {{[-f|--file]}} {{path/to/file}} --prune`
|
||||
|
||||
- List all environments:
|
||||
|
||||
`conda env list`
|
||||
|
||||
- View environment details:
|
||||
|
||||
`conda env export`
|
||||
|
||||
- List environment variables:
|
||||
|
||||
`conda env config vars list`
|
||||
|
||||
- Set environment variables:
|
||||
|
||||
`conda env config vars set {{my_var}}={{value}}`
|
||||
Reference in New Issue
Block a user