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]
                        [--from-history]

Named Arguments#

-c, --channel

Additional channel to include in the export

--override-channels

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.

--no-builds

Remove build specification from dependencies

--ignore-channels

Do not include channel names with package names.

--from-history

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#

--json

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.

Examples:

conda export
conda export --file FILE_NAME