Install Custom Nodes

ComfyUI Custom Node (Plugin) Installation Guide

This article will take the installation of ComfyUI-Manager https://github.com/ltdrdata/ComfyUI-Manager (opens in a new tab) as an example for explanation. Due to the variety of ComfyUI plugins, the installation methods and requirements are diverse, and here I will only explain the most common installation method.

ComfyUI Manager is a practical plugin that can help you automatically install plugins, download models, etc. You can regard this plugin as a large resource library, and you can use it to download content at any time. However, if you are in China, you may experience poor usage due to network access issues.

  • Manual Installation: Manually install ComfyUI plugins from a compressed package.
  • Git Installation: Install using Git commands.
  • ComfyUI Manager.
  • Use aaaki ComfyUI Launcher install custom nodes.

If the installation is successful, after opening the ComfyUI interface, you should see the following picture effect. comfyui-manager In the menu options, a new Manager option will be added, which is the entry point for ComfyUI Manager.

Manual Installation: Manually Install ComfyUI Plugins from a Compressed Package

First, visit the corresponding repository address: https://github.com/ltdrdata/ComfyUI-Manager (opens in a new tab)

  • The repository usually provides a corresponding Readme installation guide, and you can refer to the installation guide for installation.

github repository screenshot

  1. Click the green <>code button on the page.
  2. Click the Download ZIP button in the pop-up window.
  3. After downloading, unzip the compressed package.
  4. Copy the unzipped folder to the comfyui/custom_nodes plugin directory.
  5. Restart ComfyUI and check if the plugin is installed.

Git Installation: Install Using Git Commands

Installing with Git requires you to have some knowledge of Git and to have Git pre-installed and configured.

First, find the Git repository of the plugin you want to install, such as https://github.com/ltdrdata/ComfyUI-Manager (opens in a new tab)

  1. Click the green <>code button on the page.
  2. Click the copy button after the input box of the https option in the pop-up window. github repository screenshot
  3. You will copy the link https://github.com/ltdrdata/ComfyUI-Manager.git (opens in a new tab)
  4. Open your CMD terminal, first use the cd command to enter the folder where your ComfyUI plugins are located, such as E://ComfyUI_windows_portable/COmfyUI/custom_nodes
cd E://ComfyUI_windows_portable/COmfyUI/custom_nodes 

Then use the git clone command to clone the corresponding code repository

git clone https://github.com/ltdrdata/ComfyUI-Manager.git
  1. Wait for the success notification.
  2. Restart ComfyUI to check if the plugin has been installed successfully.

Note: Using GitHub in the domestic environment can easily lead to failure. You can synchronize the corresponding plugin repository to a domestic code repository such as Gitee to increase the success rate.

ComfyUI Manager

Of course, the prerequisite for using ComfyUI Manager to install other plugins is that you have already installed the ComfyUI Manager plugin.

  1. First, make sure you have installed the ComfyUI Manager as provided above.
  2. In the ComfyUI interface, go to the Manager option.

github repository screenshot

  1. In the pop-up window, you can see two options: Custom Nodes Manager (Install New Plugins) and Install Missing Custom Nodes (Install missing plugins in the workflow). If you are installing a new plugin, choose the first option.

ComfyUI Manager UI

  1. The subsequent usage is very simple; search or browse to find the plugin you need and then click Install.
  2. If there is no plugin, you can also use the Install via Git URL in the ComfyUI menu to install the plugin using Git.

aaaki ComfyUI Launcher Plugin Installation

If you are using theaaaki ComfyUI Launcher , the installation success rate in the domestic environment will be much higher.

  1. Make sure ComfyUI is not running.
  2. In the aaaki ComfyUI Launcher , select Version Management\Install Extension (the following picture uses the English version interface). aaaki ComfyUI Launcher  Version Management
  3. Search or browse to find the plugin you want to install and click to install it.
  4. If there is no plugin, you can use the Extension URL in this interface to install the corresponding plugin git address here, and you can install it using git.