How to install Comfy-Org/ComfyUI. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
Comfy-Org/ComfyUI Installation Guide
How to install Comfy-Org/ComfyUI. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for Comfy-Org/ComfyUI. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i Comfy-Org/ComfyUIor
Install via npx
npx @hexmos/ipm i Comfy-Org/ComfyUIPrerequisites
Python
runtimeVersion: >=3.12
Git
version_controlPyTorch
libraryVersion: >=2.7
7-Zip
toolVersion: >=23.01
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Windows Portable Package (NVIDIA GPUs)
curl -L https://github.com/Comfy-Org/ComfyUI/releases/download/v0.31.0/ComfyUI_windows_portable_nvidia.7z -o ComfyUI_windows_portable_nvidia.7z
7z x ComfyUI_windows_portable_nvidia.7z -aoa
ComfyUI_windows_portable_nvidia\run_nvidia_gpu.batWindows Portable Package (AMD GPUs)
curl -L https://github.com/Comfy-Org/ComfyUI/releases/download/v0.31.0/ComfyUI_windows_portable_amd.7z -o ComfyUI_windows_portable_amd.7z
7z x ComfyUI_windows_portable_amd.7z -aoa
ComfyUI_windows_portable_amd\run_amd_gpu.batWindows Portable Package (Intel GPUs)
curl -L https://github.com/Comfy-Org/ComfyUI/releases/download/v0.31.0/ComfyUI_windows_portable_intel.7z -o ComfyUI_windows_portable_intel.7z
7z x ComfyUI_windows_portable_intel.7z -aoa
ComfyUI_windows_portable_intel\run_intel_gpu.batWindows Portable Package (NVIDIA GPUs with CUDA 12.6)
curl -L https://github.com/Comfy-Org/ComfyUI/releases/download/v0.31.0/ComfyUI_windows_portable_nvidia_cu126.7z -o ComfyUI_windows_portable_nvidia_cu126.7z
7z x ComfyUI_windows_portable_nvidia_cu126.7z -aoa
ComfyUI_windows_portable_nvidia_cu126\run_nvidia_gpu.batComfyUI CLI
pip install comfy-cli
comfy installManual Install (Windows/Linux/macOS)
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
pip install -r requirements.txt
python main.pyManual Install (NVIDIA GPUs - Linux/Windows)
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130
pip install -r requirements.txt
python main.pyManual Install (AMD GPUs - Linux)
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm7.2
pip install -r requirements.txt
python main.pyManual Install (Apple Mac Silicon)
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
pip install torch torchvision torchaudio --pre --extra-index-url https://download.pytorch.org/whl/nightly/cpu
pip install -r requirements.txt
python main.py