HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

conda compare — Compare packages between conda environments. More information: <https://docs.conda.io/projects/conda

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandenvironmentsbetweencondacliconda comparecomparepackages

Problem

How to use the conda compare command: Compare packages between conda environments. More information: <https://docs.conda.io/projects/conda/en/stable/commands/compare.html>.

Solution

conda compare — Compare packages between conda environments. More information: <https://docs.conda.io/projects/conda/en/stable/commands/compare.html>.

Compare packages in the current directory to packages from the file file.yml:
conda compare file.yml


Compare packages in environment named myenv to packages from the file file.yml:
conda compare {{[-n|--name]}} myenv {{path/to/file.yml}}


Compare packages in environment myenv at custom path (i.e. prefix) to packages from the file file.yml:
conda compare {{[-p|--prefix]}} {{path/to/myenv}} {{path/to/file.yml}}


Display help:
conda compare {{[-h|--help]}}

Code Snippets

Compare packages in the current directory to packages from the file `file.yml`

conda compare file.yml

Compare packages in environment named `myenv` to packages from the file `file.yml`

conda compare {{[-n|--name]}} myenv {{path/to/file.yml}}

Compare packages in environment `myenv` at custom path (i.e. prefix) to packages from the file `file.yml`

conda compare {{[-p|--prefix]}} {{path/to/myenv}} {{path/to/file.yml}}

Display help

conda compare {{[-h|--help]}}

Context

tldr-pages: common/conda compare

Revisions (0)

No revisions yet.