- Create a virtual environment(avoid polluting the system-level Python environment)
- Clone the ComfyUI code repository
- Install dependencies
- Start ComfyUI
Create a virtual environment
Install Miniconda. This will help you install the correct versions of Python and other libraries needed by ComfyUI. Create an environment with Conda.Clone the ComfyUI code repository
You need to ensure that you have installed Git on your system. First, you need to open the terminal (command line), then clone the code repository.- Windows
- Linux
- MacOS
Install GPU and ComfyUI dependencies
1
Install GPU dependencies
Install GPU Dependencies
Alternatively, you can install the nightly version of PyTorch.
Alternatively, you can install the nightly version of PyTorch.
Nvidia
Nvidia
Install Nightly
Install Nightly
AMD
AMD
Install Nightly
Install Nightly
Mac ARM Silicon
Mac ARM Silicon
2
Install ComfyUI dependencies
3
Start ComfyUI
Start the application
How to update ComfyUI
1
pull the latest code
Use the command line to enter the installation path of ComfyUI, then pull the latest code.
2
install the dependencies
Use the command line to enter the installation path of ComfyUI, then install the dependencies.