Installation
ComfyUI runs locally on Windows, Linux, and Apple Silicon macOS. Choose the path that fits your hardware and comfort level.
#System Requirements
| Component | Minimum | Recommended |
|---|---|---|
| GPU (Windows / Linux) | NVIDIA RTX 20-series+ with 4-6 GB VRAM (Dynamic VRAM and async weight streaming run large models on 4 GB VRAM + 8 GB RAM), AMD ROCm (Linux / Windows 11), or Intel Arc XPU | NVIDIA RTX with 12 GB+ VRAM for fast iteration |
| Apple Silicon | M1 / M2 / M3 / M4 with 16 GB unified memory | M2/M3/M4 Pro or Max with 32 GB+ unified memory |
| System RAM | 8-16 GB (pair with Dynamic VRAM for weight streaming) | 32 GB+ (essential for multi-billion-parameter DiT and video models) |
| Storage | 20 GB free SSD | 100 GB+ NVMe SSD for checkpoints and video weights |
| Software | Python 3.12-3.14 (3.13 recommended), PyTorch 2.7+, CUDA cu130+ (NVIDIA RTX 20+), Git |
Python 3.13 venv + current PyTorch (cu130+) + built-in ComfyUI-Manager |
#Desktop App
The official ComfyUI Desktop App (Windows and macOS) is the recommended setup for most users. It bundles Python, Git, unified model/input/output folders, automatic update snapshots, built-in Apps, and ComfyUI-Manager already set up.
- Download the Windows or macOS Apple Silicon installer from
comfy.org/download. - Pick an install folder with plenty of free SSD space (avoid OneDrive-synced folders).
- Launch ComfyUI Desktop, let it install PyTorch for your GPU, and open the workflow templates browser.
If you prefer a command-line installer for local environments, install comfy-cli (pip install comfy-cli && comfy install). Want to run without local hardware setup? Comfy-Org also offers hosted Comfy Cloud workflows in your browser.
#Windows
#Windows Portable (standalone 7-Zip bundle)
Official docs recommend the Desktop App for regular users, while Windows Portable gives you a self-contained folder you can move or back up easily without touching system Python.
- Install 7-Zip and Git for Windows.
- Download the matching archive from the ComfyUI Releases page:
- NVIDIA (RTX 20-series and newer, Python 3.13 + CUDA 13.0):
ComfyUI_windows_portable_nvidia.7z - AMD Radeon (ROCm):
ComfyUI_windows_portable_amd.7z - Intel Arc (XPU):
ComfyUI_windows_portable_intel.7z - NVIDIA legacy (GTX 10-series and older, Python 3.12 + CUDA 12.6):
ComfyUI_windows_portable_nvidia_cu126.7z
- NVIDIA (RTX 20-series and newer, Python 3.13 + CUDA 13.0):
- Extract with 7-Zip directly to a short path such as
D:\ComfyUI(avoidProgram Filesor paths with spaces). If Windows blocks extraction, right-click the archive -> Properties -> Unblock. - Run
run_nvidia_gpu.bat(oradvanced\run_cpu.baton NVIDIA builds to run CPU-only; AMD/Intel portable users can launch CPU mode with.\python_embeded\python.exe -s ComfyUI\main.py --cpu --windows-standalone-build). - Open
http://127.0.0.1:8188in your browser. Update your NVIDIA driver first if CUDA fails to initialize.
#Manual Windows venv (for developers)
# Python 3.13 is recommended (3.12 works if an older custom node needs it; 3.14 is supported with occasional node incompatibilities)
git clone https://github.com/Comfy-Org/ComfyUI.git
cd ComfyUI
# Create and activate a Python virtual environment
py -3.13 -m venv .venv
.\.venv\Scripts\Activate.ps1
# 1) NVIDIA RTX 20-series+ (PyTorch CUDA 13.0 stable; cu132 nightly also available)
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130
# 2) OR AMD Windows 11 (ROCm 10.0 multi-architecture PyTorch; no separate HIP SDK needed)
# Use a specific target like device-gfx1201 (RX 9070) or device-gfx1100 (RX 7900) instead of device-all to save disk space
# pip install --index-url https://stable.repo.amd.com/rocm/whl-next/ "torch[device-all]==2.13.0+rocm10.0.0" "torchvision[device-all]==0.28.0+rocm10.0.0" "torchaudio==2.11.0.2+rocm10.0.0"
# 3) OR Intel Arc GPUs (PyTorch XPU)
# pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/xpu
# Install ComfyUI dependencies and start
pip install -r requirements.txt
python main.py#Linux
#1. Install system packages and GPU drivers
#Debian / Ubuntu / Linux Mint / Pop!_OS
sudo apt update && sudo apt upgrade -y
sudo apt install python3 python3-pip python3-venv git build-essential -y
# NVIDIA driver (install the latest open/recommended driver package for your distro)
sudo apt install nvidia-driver-570-open -y#Fedora / RHEL / Rocky Linux / AlmaLinux
sudo dnf update -y
sudo dnf install python3.13 python3-pip python3-devel git gcc gcc-c++ -y
# Fedora NVIDIA drivers (with RPM Fusion enabled)
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda -y#Arch Linux / Manjaro / EndeavourOS
sudo pacman -Syu
sudo pacman -S python python-pip git base-devel
# NVIDIA drivers
sudo pacman -S nvidia nvidia-utils#openSUSE Leap / Tumbleweed
sudo zypper refresh && sudo zypper update
sudo zypper install python313 python313-pip git gcc gcc-c++
# NVIDIA drivers
sudo zypper install nvidia-video-G06 nvidia-compute-G06Reboot after installing or updating GPU kernel drivers so nvidia-smi (or rocm-smi) reports your device cleanly.
#2. Create a venv and launch ComfyUI
python3 -m venv ~/comfyui-env
source ~/comfyui-env/bin/activate
git clone https://github.com/Comfy-Org/ComfyUI.git
cd ComfyUI
# NVIDIA GPUs (CUDA 13.0 stable; update PyTorch if older than 6 months)
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130
# AMD GPUs on Linux (ROCm 7.2)
# pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm7.2
# Intel Arc GPUs (XPU)
# pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/xpu
pip install -r requirements.txt
python main.pyFor older AMD cards not officially listed in ROCm, launch with HSA_OVERRIDE_GFX_VERSION=10.3.0 python main.py (RDNA2 like RX 6600/6700) or HSA_OVERRIDE_GFX_VERSION=11.0.0 python main.py (RX 7600 / RDNA3). Setting PYTORCH_TUNABLEOP_ENABLED=1 can also improve AMD throughput after a slower first warmup run.
Open http://127.0.0.1:8188 in your browser once the terminal prints To see the GUI go to: http://127.0.0.1:8188.
#macOS
Apple Silicon Macs (M1 through M4) run ComfyUI via PyTorch Metal (mps). Intel Macs do not have Metal acceleration for modern diffusion models and are too slow for regular use.
# Install Homebrew if missing, then Python 3.13 and Git
brew install python@3.13 git
git clone https://github.com/Comfy-Org/ComfyUI.git
cd ComfyUI
python3.13 -m venv .venv
source .venv/bin/activate
# Install the latest PyTorch nightly for Apple Silicon MPS (see https://developer.apple.com/metal/pytorch/)
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
pip install -r requirements.txt
python main.py#Docker
Docker keeps Python, CUDA, and custom nodes isolated from your host OS.
- Install Docker Engine (or Docker Desktop on Windows with WSL 2) and the NVIDIA Container Toolkit so containers can see your GPU.
- Create persistent folders on your host so models and outputs survive container updates:
mkdir -p ~/comfyui-data/models ~/comfyui-data/output ~/comfyui-data/custom_nodes- Pull and run a ComfyUI container image with GPU passthrough:
docker pull yanwk/comfyui-boot:latest
docker run -d \
--name comfyui \
--gpus all \
-p 127.0.0.1:8188:8188 \
-v ~/comfyui-data:/root/ComfyUI \
yanwk/comfyui-boot:latest#ComfyUI-Manager
ComfyUI-Manager v4 is now integrated into ComfyUI for installing custom nodes, running security checks, updating packages, and managing extensions.
- Desktop App: ComfyUI-Manager is already enabled out of the box.
- Manual venv and Windows Portable: install the manager requirements once and start ComfyUI with
--enable-manager:
pip install -r manager_requirements.txt
python main.py --enable-managerUseful manager launch flags (see docs.comfy.org/manager/overview):
--enable-manager: enables built-in ComfyUI-Manager.--enable-manager-legacy-ui: uses the classic manager dialog instead of the newer UI (implies--enable-manager).--disable-manager-ui: disables manager web UI endpoints while keeping background security checks and scheduled installs active (requires--enable-manager).
#First models to download
Before queuing your first prompt, place at least one model in ComfyUI/models/:
- All-in-one SDXL / Illustrious / Pony checkpoint: put
.safetensorsfiles inComfyUI/models/checkpoints/. - Split-weight models (Flux.2, Qwen-Image 2.1, Z-Image, Krea 2, Anima, SD 3.5, Wan 2.2, LTX-Video 2): put the diffusion model in
ComfyUI/models/diffusion_models/, text encoders inComfyUI/models/text_encoders/, and the matching VAE inComfyUI/models/vae/.
Continue to Interface & Core Concepts or build a graph in Your First Workflow.