conda env update
#
Update the current environment based on environment file.
usage: conda env update [-h] [--override-frozen] [-n ENVIRONMENT | -p PATH]
[-f FILE] [--prune] [--json] [--console CONSOLE] [-v]
[-q] [--solver {classic,libmamba}]
[remote_definition]
Positional Arguments#
- remote_definition
remote_definition is deprecated and will be removed in 25.9. Use conda env create --file=URL instead.
Named Arguments#
- --override-frozen
DANGEROUS. Use at your own risk. Ignore protections if the environment is frozen.
- -f, --file
environment definition (default: environment.yml)
- --prune
remove installed packages not defined in environment.yml
- --solver
Possible choices: classic, libmamba
Choose which solver backend to use.
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.
- --console
Select the backend to use for normal output rendering.
- -v, --verbose
Can be used multiple times. Once for detailed output, twice for INFO logging, thrice for DEBUG logging, four times for TRACE logging.
- -q, --quiet
Do not display progress bar.
Examples:
conda env update
conda env update -n=foo
conda env update -f=/path/to/environment.yml
conda env update --name=foo --file=environment.yml
conda env update vader/deathstar