Skip to content

Instantly share code, notes, and snippets.

@mattirish
Last active February 8, 2025 06:43
Show Gist options
  • Save mattirish/4c04c0a64654760c0c3ff040b07ff181 to your computer and use it in GitHub Desktop.
Save mattirish/4c04c0a64654760c0c3ff040b07ff181 to your computer and use it in GitHub Desktop.
Easily move a conda environment to a different drive on Windows without touching with conda
@DeadBranches
Copy link

DeadBranches commented Feb 10, 2023

Thanks for laying this out.

It's interesting that if I use the package manager from the conda prompt (e.g. conda install git) the symlink is replaced by a folder and any package install attempt just fails.

@JulienGadanho
Copy link

mklink /D "D:<your username>\conda" "C:\Users<your username>\AppData\Local\conda\conda" for Windows

@bogdanscarwash
Copy link

this worked, thank you so much

@kuco0614
Copy link

Huge thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment