Understanding install paths and moving the "server" to another folder

Before my question I just want to say that the Desktop Version is great an I’m only using it instead of the portable one.
My setup went fine, selected the old ComfyUI folder and it connected the links for the models folder and found the custom_nodes also.
So the migration went fine but I tried to install on the same folder as the older ComfyUI folder .…portable\ComfyUI.
The problem is that it created a second ComfyUI folder inside the old one and installed all the .venv there.
My question is How can I move the .venv part to one folder bellow avoiding the duplication of custom_folders ? Where do I tell comfyui desktop where the python environment is installed ?

Now I have .venv inside this folder: G:\ComfyUI_windows_portable\ComfyUI\ComfyUI and I want it to be the same as the non-desktop version: G:\ComfyUI_windows_portable\ComfyUI.

Does it make sense or will it mess with both versions. If it is not to be done, how can I move the folder with the .venv to another place ?

The other problem is migrating from the C: drive the C:\Users\user\AppData\Local\Programs@comfyorgcomfyui-electron is growing faster than my OS drive can handle. Is it possible to reinstall it to another place ?

I’m assuming that all these environments are similar since the ComfyUI Desktop is installed somewere in AppData that have its own folders too.

Thank you

Hey glad you are liking it! Sorry for the late reply.

TLDR; change the value in APPDATA/Roaming/ComfyUI/config.json

basePath": C:\\whichever\you\want

Comfy desktop looks at the basePath value in your APPDATA/Roaming/ComfyUI/config.json file to determine where you chose to install everything. Whereever you change your base_path to be, make sure all those directories are also present there: custom_nodes, models, .venv, etc If you want to move anything just change basePath and drag all those directories to that place.

Desktop should not install anything in this directory after version 3.23: C:\Users\user\AppData\Local\Programs@comfyorgcomfyui-electron. So this directory should not grow. All of your models, outputs, custom nodes should go into the directory you selected upon installation (or whichever you pick in config.json 's basePath)

Let me know if that makes sense or not.