snippetbashTip
conda env — Manage conda environments. More information: <https://docs.conda.io/projects/conda/en/latest/command
Viewed 0 times
commandenvironmentscondaconda envclimanageinformationmore
Problem
How to use the
conda env command: Manage conda environments. More information: <https://docs.conda.io/projects/conda/en/latest/commands/env/index.html>.Solution
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}} --pruneList all environments:
conda env listView environment details:
conda env exportList environment variables:
conda env config vars listSet environment variables:
conda env config vars set {{my_var}}={{value}}Code Snippets
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}} --pruneList all environments
conda env listView environment details
conda env exportContext
tldr-pages: common/conda env
Revisions (0)
No revisions yet.