Project

General

Profile

ComfyUISetup » History » Version 3

Anonymous, 12/26/2025 09:27 PM
updating instructions

1 1
h1. ComfyUI Setup
2
3
The following describes how to setup "https://www.comfy.org/":ComfyUI on Ubuntu 24.04.  Note that a modern GPU is required.
4
5
h2. Install ComfyUI
6
7
ComfyUI will be installed into a Python virtual environment which keeps it somewhat isolated from the rest of the system.
8
9
# Install virtualenv if it is not already installed:
10
<pre>
11
$ sudo apt  install python3.12-venv
12
</pre>
13
# Create virtualenv at @/opt/comfyui@ and then update pip:
14
<pre>
15
$ sudo python3 -m venv /opt/comfyui/
16 3
$ cd /opt/
17
$ sudo chown -R dsorber:dsorber comfyui
18
$ /opt/comfyui/bin/pip install --upgrade pip
19 1
</pre>
20
# Install pytorch into the virtualenv (NOTE: this assumes an NVidia GPU and the appropriate drivers must already be installed):
21
<pre>
22 3
$ cd /opt/comfyui/bin
23
$ ./pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130
24 1
</pre>
25
# Install ComfyUI within the virtualenv:
26
<pre>
27
$ cd /opt/comfyui
28 3
$ mkdir comfyui
29 1
$ cd comfyui/
30
$ git clone https://github.com/comfyanonymous/ComfyUI.git .
31 3
$ /opt/comfyui/bin/pip install -r requirements.txt 
32 1
</pre>
33
# Download and install Flux model
34
** https://huggingface.co/Comfy-Org/flux1-schnell/blob/main/flux1-schnell-fp8.safetensors
35
# Copy model to @models/checkpoints@ directory:
36
<pre>
37
mv ~/Downloads/flux1-dev-fp8.safetensors /opt/comfyui/comfyui/models/checkpoints
38
</pre>
39
# Base ComfyUI and Flux model is now installed. To run:
40
<pre>
41
$ cd /opt/comfyui/comfyui
42
$ ../bin/python3 main.py 
43
</pre>
44
45 2
h2. Install ComfyUI Manager
46
47
ComfyUI Manager adds some nice features to the UI. The most useful feature is the one that will list unknown nodes from a workflow graph along with links to where to install the node.
48
49
# Install ComfyUI Manager:
50
<pre>
51
$ cd /opt/comfyui/comfyui/custom_nodes
52
$ git clone https://github.com/ltdrdata/ComfyUI-Manager
53
$ cd ComfyUI-Manager
54
$ sudo /opt/comfyui/bin/pip install -r requirements.txt
55
</pre>
56
# Restart ComfyUI to use.
57
58 1
h2. Resources
59
60 2
h3. Install Guides
61
62 1
* https://comfyui-wiki.com/install/install-comfyui/install-comfyui-on-linux
63
* https://comfyui-wiki.com/tutorial/advanced/flux1-comfyui-guide-workflow-and-examples
64 2
65
h3. Nodes
66
67
* https://github.com/ltdrdata/ComfyUI-Impact-Pack
68
* https://github.com/city96/ComfyUI-GGUF
69
* https://github.com/pythongosssss/ComfyUI-Custom-Scripts
70
* https://github.com/ssitu/ComfyUI_UltimateSDUpscale
71
* https://github.com/SeargeDP/ComfyUI_Searge_LLM
72
* https://github.com/rgthree/rgthree-comfy
73
* https://github.com/cubiq/ComfyUI_essentials
74
* https://github.com/chrisgoringe/cg-image-picker
75
* https://github.com/nkchocoai/ComfyUI-SaveImageWithMetaData
76
* https://github.com/Smirnov75/ComfyUI-mxToolkit
77
* https://github.com/edelvarden/ComfyUI-ImageMetadataExtension