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} | --experimental-solver {classic}]
                        [remote_definition]

Positional Arguments

remote_definition

remote environment definition / IPython notebook

options

-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.

--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.

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