3.0 KiB
title, description, icon, sidebarTitle
| title | description | icon | sidebarTitle |
|---|---|---|---|
| Manual Installation — Local Self-Hosted | This section will guide you through the manual installation process on Windows, MacOS and Linux | wrench | Manual (Local) |
import Conda from "/snippets/conda.mdx"; import PipInstall from "/snippets/pip-install.mdx"; import InstallGpuDependencies from "/snippets/install-gpu-dependencies.mdx"; import RunComfy from "/snippets/run-comfy.mdx"; import AddExternalModels from "/snippets/install/add-external-models.mdx"
For the installation of ComfyUI, it is mainly divided into several steps:
- Create a virtual environment(avoid polluting the system-level Python environment)
- Clone the ComfyUI code repository
- Install dependencies
- Start ComfyUI
You can also refer to ComfyUI CLI to install ComfyUI, it is a command line tool that can easily install ComfyUI and manage its dependencies.
Create a virtual environment
Independent virtual environments are necessary because ComfyUI's dependencies may conflict with other dependencies on the system, and it can also avoid polluting the system-level Python environment.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. If you have not installed Microsoft Visual C++ Redistributable, please install it here. Open Terminal application. Open Terminal application.
git clone https://github.com/Comfy-Org/ComfyUI.git
Install GPU and ComfyUI dependencies
For advanced server configuration (custom port, LAN access, VRAM modes, and more), see the Startup Flags reference.