ComfyUI is the most widely used program for running image and video models like FLUX.2, Z-Image, or LTX locally. Instead of a text box, you build workflows from blocks (nodes); ready-made templates make it easy to get started. This guide is the handbook for your installation: which version to choose, where the files go, how to share models with other programs, how to install custom nodes safely, update, and back up. How to create your first image step by step is in Your first image with ComfyUI. Reading time: about 8 minutes.
What you need
- Windows 10 or 11 (64-bit)
- A graphics card:
- NVIDIA: ideally RTX 20 series or newer, with the latest driver. Comfy Desktop warns if the driver is older than version 580.
- AMD: Radeon from RDNA 2 (RX 6000) through RDNA 4, with the latest driver. No separate AMD software install is needed. More on this in Local AI with an AMD graphics card.
- Intel: Arc graphics cards.
- ComfyUI also runs without a graphics card, but very slowly.
- 16 GB RAM (8 GB is the minimum)
- An SSD with plenty of space: ComfyUI itself needs about 5 GB, models quickly take 20 to 100 GB
1. Desktop or Portable?
| Comfy Desktop | Windows Portable | |
|---|---|---|
| Installation | installer from comfy.org | unzip a 7z archive |
| Updates | one click, with automatic restore point | scripts in the update folder |
| Multiple installations | yes, side by side | yes, as separate folders |
| Manager for custom nodes | built in and enabled | built in, must be enabled |
| Good for | beginners and anyone who wants convenience | anyone who wants everything in one folder or wants to copy it to another drive |
ComfyUI itself recommends the desktop app for regular users. Since June 2026 there is a completely rewritten version (Comfy Desktop 1.x). The old app is now called “Legacy Desktop”; both can be installed side by side.
2a. Install Comfy Desktop
- Download the installer from comfy.org/download and run it.
- On first launch, choose local installation (not “Comfy Cloud”).
- The app detects your graphics card and suggests the right build: NVIDIA, AMD, Intel Arc, or CPU. Leave the channel on Stable.
- Choose a folder on an SSD as the install location, not directly
C:\and not in OneDrive.
Where Comfy Desktop stores its data:
| What | Folder |
|---|---|
| Installations | %LOCALAPPDATA%\Comfy-Desktop\ComfyUI-Installs |
| Shared models, inputs, and outputs | %LOCALAPPDATA%\Comfy-Desktop\ComfyUI-Shared |
| App settings and logs | %APPDATA%\Comfy Desktop |
You can paste these paths into File Explorer’s address bar. If the app is on a different drive, the large data will be stored there under Comfy-Desktop.
2b. Install Windows Portable
- Open the Releases page on GitHub and download the right archive:
| Archive | For |
|---|---|
ComfyUI_windows_portable_nvidia.7z | NVIDIA RTX 20 and newer (CUDA 13) |
ComfyUI_windows_portable_nvidia_cu126.7z | older NVIDIA cards (GTX 10 and older) |
ComfyUI_windows_portable_amd.7z | AMD Radeon |
ComfyUI_windows_portable_intel.7z | Intel Arc |
- Unzip it with 7-Zip or Windows Explorer to a location with plenty of space, for example
D:\ComfyUI. If extraction fails: right-click the file → Properties → check Unblock. - Start the matching file:
- NVIDIA:
run_nvidia_gpu.bat - AMD:
run_amd_gpu.bat - Intel:
run_intel_gpu.bat - A console window opens. As soon as it says
To see the GUI go to: http://127.0.0.1:8188, ComfyUI opens in the browser. The console window must stay open — if you close it, ComfyUI stops.
Tip: For NVIDIA there is also
run_nvidia_gpu_fast_fp16_accumulation.bat. That is faster for some models, but costs a bit of image quality.
3. Where the models belong
Models are large files, usually ending in .safetensors or .gguf. They belong in the models folder — for Portable in ComfyUI\models, for Desktop in the shared ComfyUI-Shared folder. The most important subfolders:
| File | Folder |
|---|---|
| Main model (for example FLUX.2, Z-Image, LTX) | diffusion_models |
| Text encoder (text understanding) | text_encoders |
| VAE (image conversion) | vae |
| Full older-style models (for example SDXL) | checkpoints |
| LoRAs (extra styles) | loras |
| Upscalers | upscale_models |
| ControlNet | controlnet |
| Image encoder (for example for 3D) | clip_vision |
| Background removal | background_removal |
The old folder names unet and clip still work. Which files a model needs is shown by the template in ComfyUI — if something is missing, it offers to download it. Terms like VAE and LoRA are explained in the glossary.
4. Put models on another drive or share them with other programs
Models are huge — storing them twice is not worth it. If you already have Forge or a second ComfyUI installation, for example, ComfyUI can use their model folders too.
Comfy Desktop: Under Desktop Settings → Storage → Add Shared Directory you can add more model folders. You can set one of them as the destination for new downloads. For a single installation, you can also do this under Manage → Storage.
Portable: In the ComfyUI folder there is a file called extra_model_paths.yaml.example.
- Copy it and name the copy
extra_model_paths.yaml. - Open it with an editor. All lines are commented out with
#. Remove the#before the section you need and enter your path underbase_path. Example for the models of a Forge installation:
a1111:
base_path: D:/stable-diffusion-webui-forge/
checkpoints: models/Stable-diffusion
vae: models/VAE
loras: models/Lora
upscale_models: models/ESRGAN
embeddings: embeddings
controlnet: models/ControlNet
- Save, then restart ComfyUI. The models will then also appear in the selection lists.
Important: The indentation with spaces has to be exact; tabs are not allowed. Write paths with
/instead of\\.
5. Safely install custom nodes
Many workflows from the internet need custom nodes from other developers. For that there is the ComfyUI-Manager, which is now built into ComfyUI.
Enable the Manager:
- Desktop: already enabled.
- Portable: Open a command prompt in the Portable folder (type
cmdin the Explorer address bar) and run:
.\python_embeded\python.exe -m pip install -r ComfyUI\manager_requirements.txt
Then open your startup file (for example run_nvidia_gpu.bat) with an editor and add --enable-manager:
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --enable-manager
Install missing nodes: If you load a workflow with unknown nodes, ComfyUI shows a dialog with Install All or Open Manager. Then restart ComfyUI.
Security: Custom nodes are programs that run with full rights on your PC. There have already been nodes with malware. Install only widely used nodes from well-known developers and read the description first. The new Manager only installs nodes from the official directory — installing from any Git address is deliberately disabled there. In Comfy Desktop, set how strictly things are checked under Manage → Startup Args → Manager Security Level. “Standard” is recommended. More on this under Security with models and nodes and in the error message ComfyUI-Manager: Security Level.
6. Keep ComfyUI up to date
New models often need a new ComfyUI version. Stable versions are released about every two weeks.
Comfy Desktop:
- The app shows Desktop Update Ready when there is a new app version.
- You update ComfyUI itself for each installation under Manage → Update. Before that, the app automatically creates a snapshot. If something goes wrong, you can roll back.
Portable — there are three scripts in the update folder:
| Script | What it does | When |
|---|---|---|
update_comfyui_stable.bat | to the latest stable version | the safe choice |
update_comfyui.bat | to the latest development version | when a brand-new model needs it |
update_comfyui_and_python_dependencies.bat | ComfyUI, PyTorch, and all packages | only if there are problems — can break custom nodes |
Important: Before running
update_comfyui_and_python_dependencies.bat, back up the entire Portable folder (exceptmodels, which are left untouched).
7. Startup options: low VRAM, network, troubleshooting
ComfyUI now manages VRAM very smartly on its own (“Dynamic VRAM,” on NVIDIA automatically enabled with current PyTorch). The old option --lowvram no longer does anything. Useful options instead:
| Option | Effect |
|---|---|
--reserve-vram 1 | keeps 1 GB of VRAM free, for example for a browser and games running alongside it |
--disable-smart-memory | moves models to RAM faster |
--cpu-vae | runs the VAE step on the processor (slower, saves VRAM) |
--novram | last resort if nothing else fits |
--listen | makes ComfyUI reachable on the home network (then at http://<IP-des-PCs>:8188) |
--port 8189 | another port if 8188 is already in use |
--disable-all-custom-nodes | starts without custom nodes — ideal for finding out whether a node is causing problems |
How to set them:
- Portable: Open the startup file with an editor and add the option to the line with
main.py, for example... ComfyUI\main.py --reserve-vram 1 --windows-standalone-build. - Desktop: Manage → Startup Args, then enter it in the Startup Arguments field.
Caution with
--listen: Then anyone on the network can use ComfyUI and also install nodes. Use it only on your own trusted home network and set the Manager to a strict security level.
8. Back up and move to another PC
- Your images are in the
outputfolder (Portable:ComfyUI\output, Desktop: in theComfyUI-Sharedfolder). - Workflows and settings are in the
user\defaultfolder — you should back that up too. - Comfy Desktop: Snapshots contain the ComfyUI version, all custom nodes, and Python packages, but not models or images. You can export them as
.jsonand rebuild the same installation on another PC with Load Snapshot. - Portable is self-contained: you can copy the whole folder or move it to another drive.
Common problems
| Problem | Solution |
|---|---|
Error with c10.dll on startup (Portable) | Install the Microsoft Visual C++ Redistributable (x64) from Microsoft and restart. |
| “Falling back to the default frontend” in the console | The packages were not updated. Run this in the Portable folder: .\python_embeded\python.exe -m pip install -r ComfyUI\requirements.txt |
| “IMPORT FAILED” for a custom node | Update or reinstall the node in the Manager. If that does not help, start with --disable-all-custom-nodes and remove the node. |
| Red nodes in the workflow | Missing custom nodes: choose Install All in the dialog, then restart. |
| “CUDA out of memory” | Use a smaller model variant (fp8, GGUF) or a smaller resolution, see CUDA out of memory and Explaining VRAM. |
| Model does not appear in the list | Is it in the correct subfolder (see step 3)? Press R in the browser or restart ComfyUI so the list is reloaded. |
What’s next?
- Your first image with ComfyUI — step by step to your first image
- How to write good image prompts
- Your first AI video with LTX
- Create a 3D model from photos
- Community workflows to download
Before you sell images
Not every model allows commercial use. Check the license overview.
Sources
- ComfyUI on GitHub (now Comfy-Org)
- ComfyUI Releases (Portable archives)
- Comfy Desktop on GitHub
- ComfyUI docs: system requirements
- ComfyUI docs: Desktop on Windows
- ComfyUI docs: Desktop — manage installations
- ComfyUI docs: Desktop — settings and storage locations
- ComfyUI docs: Desktop — Manage (Update, Startup Args, Storage)
- ComfyUI docs: Desktop — Snapshots
- ComfyUI docs: Windows Portable
- ComfyUI docs: update ComfyUI
- ComfyUI docs: install the Manager
- ComfyUI docs: Manager — manage nodes
- ComfyUI docs: Manager — security levels
- ComfyUI docs: install custom nodes (security notes)
- ComfyUI: extra_model_paths.yaml.example
- ComfyUI: startup options (cli_args.py)
- ComfyUI: folder names (folder_paths.py)
As of: Oct 26, 2026