-
Notifications
You must be signed in to change notification settings - Fork 7
ComfyUI manual install instructions for nVidia GPUs
brknsoul edited this page Feb 12, 2025
·
1 revision
(If you've already installed these from another SD UI, you can skip this section and jump to Install ComfyUI)
-
Download and install Python 3.10.10 from here; https://www.python.org/ftp/python/3.10.10/python-3.10.10-amd64.exe
❗ Important: While Installing Python, please ensure to check the "Add Python to PATH" box. -
Download and install Git from here: https://github.com/git-for-windows/git/releases/download/v2.43.0.windows.1/Git-2.43.0-64-bit.exe
- 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.