Skip to content

ComfyUI manual install instructions for nVidia GPUs

brknsoul edited this page Feb 12, 2025 · 1 revision

Install Git and Python

(If you've already installed these from another SD UI, you can skip this section and jump to Install ComfyUI)

Install ComfyUI

  • Open cmd in the folder you want to install, then run the following commands, one by one.
    Navigate to the folder where you want to install ComfyUI, then type "cmd" in the location bar and hit Enter.
    Note: Refrain from installing ComfyUI into the Program Files, Users, or Windows folders, this includes the OneDrive folder or on the Desktop, or into a folder that begins with a period; (eg: .comfyui).
  • git clone https://github.com/comfyanonymous/ComfyUI
  • cd comfyui
  • python -m venv venv
  • venv\scripts\activate
  • pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu124
  • pip install -r requirements.txt
  • deactivate
  • cd custom_nodes
  • git clone https://github.com/ltdrdata/ComfyUI-Manager.git
  • Close the command prompt window.
  • Copy and paste the following into Notepad, and save it as "StartComfyUI.bat" and place it into your ComfyUI folder.
@echo off

set PYTHON=%~dp0/venv/Scripts/python.exe
set GIT=
set VENV_DIR=./venv
set COMMANDLINE_ARGS=--auto-launch %*

%PYTHON% main.py %COMMANDLINE_ARGS%
  • Double-click StartComfyUI.bat to run ComfyUI.