conda env update#

Update the current environment based on environment file.

usage: conda env update [-h] [-n ENVIRONMENT | -p PATH] [-f FILE] [--prune]
                        [--json] [-v] [-q] [--solver {classic}]
                        [remote_definition]

Positional Arguments#

remote_definition

remote environment definition / IPython notebook

Named Arguments#

-f, --file

environment definition (default: environment.yml)

--prune

remove installed packages not defined in environment.yml

--solver

Possible choices: classic

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.

-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