I would like to essentially create a new environment from an old environment.
For a brand new environment:
conda create --clone OLD_ENV --name NEW_ENV
If the new environment already exists:
conda activate OLD_ENV
conda env export > old_environment.yml
conda activate NEW_ENV
conda env update --file old_environment.yml
Ref:
2 Likes