conda env export#

Export a given environment

usage: conda env export [-h] [-c CHANNEL] [--override-channels]
                        [-n ENVIRONMENT | -p PATH] [-f FILE] [--no-builds]
                        [--ignore-channels] [--json] [-v] [-q]

Named Arguments#

-c, --channel

Additional channel to include in the export


Do not include .condarc channels

-f, --file

File name or path for the exported environment. Note: This will silently overwrite any existing file of the same name in the current directory.


Remove build specification from dependencies


Do not include channel names with package names.


Build environment spec from explicit specs in history

Target Environment Specification#

-n, --name

Name of environment.

-p, --prefix

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

Output, Prompt, and Flow Control Options#


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.


conda env export
conda env export --file SOME_FILE