mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-07 10:45:37 +00:00
26 lines
738 B
Plaintext
26 lines
738 B
Plaintext
---
|
|
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]}}`
|