Skip to main content

Installation options

Choose the installation method that works best for you:
The easiest way to get started with ComfyUI.

Available platforms

  • Windows
  • macOS
Download from the official website.

Manual installation

Prerequisites

Python version: Python 3.13 is recommended. Python 3.14 works but some custom nodes may have issues. If you have dependency issues on 3.13, try 3.12.
PyTorch version: PyTorch 2.4+ is supported. We recommend using the latest major version with the latest CUDA version (unless it’s less than 2 weeks old).

Installation steps

1

Clone the repository

git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
2

Install PyTorch

Choose the installation command for your GPU:
Stable version:
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130
Nightly version (may have performance improvements):
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu130
If you get “Torch not compiled with CUDA enabled” error:
pip uninstall torch
# Then reinstall with the command above
3

Install dependencies

pip install -r requirements.txt
4

Add your models

Place your models in the appropriate folders:
  • Checkpoints: models/checkpoints
  • VAE: models/vae
  • LoRAs: models/loras
  • Embeddings: models/embeddings

Running ComfyUI

Basic usage

python main.py
ComfyUI will start and be accessible at http://127.0.0.1:8188 by default.

Command-line options

python main.py --listen 0.0.0.0 --port 8188

AMD-specific options

For AMD cards not officially supported by ROCm:RDNA2 or older (6700, 6600):
HSA_OVERRIDE_GFX_VERSION=10.3.0 python main.py
RDNA3 cards (7600):
HSA_OVERRIDE_GFX_VERSION=11.0.0 python main.py

Installing ComfyUI-Manager

ComfyUI-Manager allows you to easily install, update, and manage custom nodes.
1

Install manager dependencies

pip install -r manager_requirements.txt
2

Enable the manager

python main.py --enable-manager

Manager options

FlagDescription
--enable-managerEnable ComfyUI-Manager
--enable-manager-legacy-uiUse legacy manager UI (requires --enable-manager)
--disable-manager-uiDisable manager UI but keep background features

High-quality previews

By default, ComfyUI uses low-resolution previews. To enable high-quality TAESD previews:
1

Download TAESD models

2

Place in VAE approx folder

Move the downloaded files to:
models/vae_approx
3

Launch with TAESD previews

python main.py --preview-method taesd

Next steps

Create your first workflow

Now that ComfyUI is installed, learn how to create your first image generation workflow.

Build docs developers (and LLMs) love