---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 create {{[-h|--help]}}`
