Skip to content

enricoteofilo/migrate_conda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Migrate conda environments

This repository is intended for personal use to help manage multiple machines and frequent Linux distribution changes.

Disclaimer: All scripts and files provided in this repository are supplied as-is, without any warranty, guarantee, or support. Please review and understand the contents before executing them. The author assumes no responsibility or liability for any loss, damage, or issues arising from the use of these materials. Use at your own risk.

Backup installed conda environments

  1. On the old machine, make the backup script executable via chmod +x export_conda_envs.sh
  2. Run it to backup Miniconda envs: ./export_conda_envs.sh
  3. Copy the directory on the new machine

Rebuild them from the backup files with Mamba

  1. Move the mamba_rebuild.sh file to the same directory as the backup *.yml files
  2. Make it executable via chmod +x mamba_rebuild.sh
  3. Run it to rebuild envs with mamba: ./mamba_rebuild.sh

About

Simple bash scripts to migrate conda environments between machines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages