Conda

Save an environment’s package list:

conda list --export > package-list.txt

Reinstall packages from an exported package list file:

conda create -n myenv --file package-list.txt