conda env remove
Remove an environmentRemoves a provided environment. You must deactivate the existing environment before you can remove it.
usage: conda env remove [-h] [-n ENVIRONMENT | -p PATH]
[--solver {classic} | --experimental-solver {classic}]
[--json] [-v] [-q] [-d] [-y]
options
- --solver
Possible choices: classic
Choose which solver backend to use.
- --experimental-solver
Possible choices: classic
--experimental-solver is pending deprecation and will be removed in 24.3. Use --solver instead.
Target Environment Specification
- -n, --name
Name of environment.
- -p, --prefix
Full path to environment location (i.e. prefix).
Output, Prompt, and Flow Control Options
- --json
Report all output as json. Suitable for using conda programmatically.
- -v, --verbose
Can be used multiple times. Once for INFO, twice for DEBUG, three times for TRACE.
- -q, --quiet
Do not display progress bar.
- -d, --dry-run
Only display what would have been done.
- -y, --yes
Sets any confirmation values to 'yes' automatically. Users will not be asked to confirm any adding, deleting, backups, etc.
Examples:
conda env remove --name FOO conda env remove -n FOO