Request: Let us choose where to install app and data

I would prefer to install both the app and data to directories other than the ones that the installer defaults to. But it doesn’t allow me to change them.

3 Likes

Agreed. This stops me from being able to use it. I don’t have enough room on the C drive to keep all the models. I need to be able to change the default location so things downloaded through the interface don’t end up on my smallest drive.

1 Like

Third on this, I don’t want it saving custom nodes and models to appdata and would prefer to use a different drive to C:

2 Likes

Wanted to confirm two things:

  1. Are you able to select a different drive in the first installation screen?
  2. Are you downloading models using Manager?

At installation, I can change the “User Data” directory (defaults to “C:\Users\Username\Documents”). But I cannot change the “App Data” or “App Path” directories (defaults to “C:\Users\Username\AppData\Roaming” and “C:\Users\Username\AppData\Local\Programs@comfyorgcomfyui-electron\resources\app.asar”).

I would like to be able to change all three. Thanks!

3 Likes

I used file paths to the Models in the previous comfy installation which I had cloned a while back. So the models do not have to be duplicated or sit in a place where I dont want.

when you install something via the Manager it goes to the default uneditable path

I second that. I have my pinokio install running completely portable on an external hard drive which is very handy when you have to change from your normal desktop to an laptop due to travel issues I face frequently etc. So in that line it would be very useful if the whole thing could be made completely “portable” which includes total freedom of location choice for everything, python included

1 Like

Is this solved? I am somehow in the same situation with C getting suffocation.

No it is not solved, unfortunately.

It breaks the rule to keep the data and the windows partition separated. And AI can blow up everything. I have at the moment over 300 gb of weights and other ai stuff, collected over the years. This would simply not fit into my C partition.

1 Like

@KiraKenny The app itself currently installs to %LOCALAPPDATA%. Logs and some other state data is saved in %APPDATA%. Should be in the “hundreds of megabytes” range.

You can choose where you put your models, custom nodes, etc. The issue of all custom nodes and models being saved to C: is resolved.

2 Likes

Not sure I’ve ever heard that rule! Though you can list locations of models in extra_models_config.yaml (%APPDATA%/ComfyUI), or extra_model_paths.yaml (ComfyUI server directory).

Thanks @filtered
Never heard of this golden rule? Then you most likely never had a shot down Windows partition. I had more than one over the years. But yeah, it’s been a while. I feel old now ^^

You can of course not keep everything separated. But for vital data it is imho a must have. Also os migration is much easier. And with a separated drive it is also much easier to make backups. For me it is habit. Everything data is at a separate drive.

Regarding the yaml file, yeah, but the environment is then still at C. And not everything can then be linked externally. My portable Comfy including all models and loras and other files is at my drive E.

Haha I’ve seen some pretty shot systems! Exchange was the stuff of nightmares, back in the day.

Desktop is not designed to be a portable installation, right now. It will install to the locations I mentioned before, and consume some system/default drive space. The goal is to provide a system that supports everyone - if there is an issue with the amount being used on the system drive in recent versions (>= 0.4.0), please speak up!

1 Like

如果是Windows系统,也可以用mklink命令,或者写一个mklink.bat来进行批量建立链接

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.