mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
31 lines
821 B
Plaintext
31 lines
821 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# conda activate
|
|
|
|
> Activate a conda environment.
|
|
> See also: `conda deactivate`.
|
|
> More information: <https://docs.conda.io/projects/conda/en/stable/dev-guide/deep-dives/activation.html>.
|
|
|
|
- Activate an existing environment named `myenv`:
|
|
|
|
`conda activate myenv`
|
|
|
|
- Activate an existing environment located at custom path:
|
|
|
|
`conda activate {{path/to/myenv}}`
|
|
|
|
- Stack `myenv` environment on top of a previous environment making libraries/commands/variables from both accessible:
|
|
|
|
`conda activate --stack myenv`
|
|
|
|
- Start a clean environment `myenv` without stacking it making previous environment libraries/commands/variables not accessible:
|
|
|
|
`conda activate --no-stack myenv`
|
|
|
|
- Display help:
|
|
|
|
`conda activate {{[-h|--help]}}`
|