conda compare#

Compare packages between conda environments.

usage: conda compare [-h] [--json] [-v] [-q] [-n ENVIRONMENT | -p PATH] file

Positional Arguments#

file

Path to the environment file that is to be compared against.

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.

Target Environment Specification#

-n, --name

Name of environment.

-p, --prefix

Full path to environment location (i.e. prefix).

Examples:

Compare packages in the current environment with respect to 'environment.yml' located in the current working directory:

conda compare environment.yml

Compare packages installed into the environment 'myenv' with respect to 'environment.yml' in a different directory:

conda compare -n myenv path/to/file/environment.yml