Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
},
"installation/comfyui_portable_windows",
"installation/manual_install",
"installation/update_comfyui",
"installation/install_custom_node"
]
},
Expand Down Expand Up @@ -498,6 +499,7 @@
},
"zh-CN/installation/comfyui_portable_windows",
"zh-CN/installation/manual_install",
"zh-CN/installation/update_comfyui",
"zh-CN/installation/install_custom_node"
]
},
Expand Down
Binary file modified images/troubleshooting/desktop-diable-custom-node.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
95 changes: 58 additions & 37 deletions installation/manual_install.mdx
Original file line number Diff line number Diff line change
@@ -1,61 +1,82 @@
---
title: "Manual Installation"
title: "How to install ComfyUI manually in different systems"
Description: "This section will guide you through the manual installation process on Windows, MacOS and Linux"
icon: "wrench"
sidebarTitle: "Manual Installation"
---

import GitClone from "/snippets/git-clone.mdx";
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 NvidiaBlackwell from "/snippets/install/nvidia-blackwell.mdx"

<NvidiaBlackwell/>
For the installation of ComfyUI, it is mainly divided into several steps:
1. Create a virtual environment(avoid polluting the system-level Python environment)
2. Clone the ComfyUI code repository
3. Install dependencies
4. Start ComfyUI

<Tabs>
<Tab title="Windows">
### Clone the repository
You can also refer to [ComfyUI CLI](comfy-cli/getting-started) to install ComfyUI, it is a command line tool that can easily install ComfyUI and manage its dependencies.

<GitClone />
## Create a virtual environment

<Warning>If you have not installed Microsoft Visual C++ Redistributable, please install it [here.](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)</Warning>
<Tip>
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.
</Tip>

<Conda />

### Install Dependencies
## Clone the ComfyUI code repository

1. <Conda />
1. <InstallGpuDependencies />
1. <PipInstall />
1. <RunComfy />
You need to ensure that you have installed [Git](https://git-scm.com/downloads) on your system. First, you need to open the terminal (command line), then clone the code repository.
<Tabs>
<Tab title="Windows">
<Warning>If you have not installed Microsoft Visual C++ Redistributable, please install it [here.](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)</Warning>
</Tab>
<Tab title="Linux">

### Clone the repository

<GitClone />

### Install Dependencies

1. <Conda />
1. <InstallGpuDependencies />
1. <PipInstall />
1. <RunComfy />
Open Terminal application.
</Tab>

<Tab title="MacOS">

### Clone the repository

Open [Terminal application](https://support.apple.com/guide/terminal/open-or-quit-terminal-apd5265185d-f365-44cb-8b09-71a064a42125/mac).

<GitClone />

### Install Dependencies

1. <Conda />
1. <InstallGpuDependencies />
1. <PipInstall />
1. <RunComfy />
</Tab>
</Tabs>

```bash
git clone [email protected]:comfyanonymous/ComfyUI.git
```

## Install GPU and ComfyUI dependencies

<Steps>
<Step title="Install GPU dependencies">
<InstallGpuDependencies />
</Step>
<Step title="Install ComfyUI dependencies">
<PipInstall />
</Step>
<Step title="Start ComfyUI">
<RunComfy />
</Step>
</Steps>

## How to update ComfyUI

<Steps>
<Step title="pull the latest code">
Use the command line to enter the installation path of ComfyUI, then pull the latest code.
```bash
cd <installation path>/ComfyUI
git pull
```
</Step>
<Step title="install the dependencies">
Use the command line to enter the installation path of ComfyUI, then install the dependencies.
<Warning>
You need to ensure that the current Python environment is the ComfyUI virtual environment, otherwise the dependencies will be installed to the system-level Python environment, polluting the system-level Python environment.
</Warning>
```bash
pip install -r requirements.txt
```
</Step>
</Steps>
Loading
Loading