conda compare

Compare packages between conda environments.


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

Positional Arguments


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

Output, Prompt, and Flow Control Options


Report all output as json. Suitable for using conda programmatically.

-v, --verbose

Use once for info, twice for debug, three times for trace.

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


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