Conda export
- Exporting all the dependencies and their additional packages.
conda env export > file.yml
# or
conda export -n env > file.yml
This make sense when environment is being created in same platform as the source.
- Export without additional platform dependent packages.
conda env export --from-history > file.yml
This only export the high level required dependencies without their underlying packages which can be platform dependent.
While installing the environment from this yml file, conda installs platform specific additional packages.