Plugin Installation Guide

Updated at:

You can extend the capabilities of ComfyUI by installing plugins (custom nodes) for features such as advanced image processing, new workflow components, or integration with external tools. This guide describes three installation methods: logging on to an instance and using Git clone (recommended), installing with ComfyUI Manager, and importing with file management.

Overview

Method

Scenarios

Prerequisites

Method 1: Log on to an instance and install using Git clone (recommended)

Install open-source plugins individually. This method provides fast installation, high success rates, and controllable processes, but it is more complex.

The workstation is running. You need the GitHub address of the missing plugin, which can be found in ComfyUI Manager.

Method 2: Install using ComfyUI Manager

One-click installation and management of open-source plugins through a graphical interface. This method is simple, but the installation is slower and the success rate is lower.

Start the workstation.

Method 3: Install using file management

Batch migration of plugins, import of closed-source plugins, or installation of open-source plugins in restricted network environments.

You have a batch of plugins from another ComfyUI environment, or you have the source packages for closed-source plugins.

Method 1: Log on to an instance and install using Git clone (recommended)

Use this method when you need to install open-source plugins individually and require a high success rate.

Prerequisites

Installation Steps

  1. 1. Obtain the plugin's Git address

    Open the plugin repository page, such as GitHub. Click <> Code and copy the repository URL from the HTTPS tab. For example: https://github.com/mit-han-lab/ComfyUI-nunchaku.git.

  2. Log in to an instance

    In the FunArt console, click the ComfyUI project that you created and go to Project Development > Instance List. In the Actions column of the target instance, click Log on to Instance. In the dialog box that appears, confirm the risks and then access the terminal.

    image

    Logging on to an instance incurs charges based on elastic instance usage. Changes that you make to the instance may affect running tasks. Proceed with caution.

  3. Go to custom_nodes and clone the repository.

    cd comfyui/custom_nodes
    git clone https://github.com/mit-han-lab/ComfyUI-nunchaku.git

    Replace the URL with the address of the plugin repository that you want to install.

  4. Install dependencies

    cd ComfyUI-nunchaku
    pip install -r requirements.txt

    The folder name matches the name of the cloned plugin.

    Note

    Some ComfyUI open-source plugins require special installation steps, such as installing auxiliary models or .whl files. For more information, see the installation instructions in the plugin's GitHub README file.

  5. Restart ComfyUI

    After the installation is complete, click the Restart button in ComfyUI Manager to restart ComfyUI. Refresh your browser to use the new plugin.

    image

Update Plugins (Optional)

If you want to update a plugin that was installed using Git clone, follow these steps:

  1. Log on to the ComfyUI instance and go to the terminal page.

  2. Run the cd command to go to the directory of the plugin that you want to update. For example:

    cd comfyui/ComfyUI-nunchaku
  3. Run the git pull command to pull the latest code, or run the git checkout v-xxx command to switch to a specific version.

  4. Install dependencies: pip install -r requirements.txt.

    Note

    Some plugins include their own requirements.txt files. Installing these dependencies may cause dependency conflicts with other installed plugins. If you encounter missing nodes or abnormal functionality, check the ComfyUI console output and manually adjust the dependencies as needed.

  5. Restart ComfyUI for the changes to take effect.

Method 2: Install using ComfyUI Manager

ComfyUI Manager provides a graphical interface that you can use to browse, install, and manage custom nodes. This is the simplest method.

Prerequisites

Installation Steps

  1. 1. Open Manager

    In the ComfyUI interface, click Manager in the right-side pane.

  2. Custom Node Management

    In the Manager menu, click Custom Nodes Manager.

    image

  3. Search and install

    In the search box in the upper-right corner, enter the name of the plugin. Find the target plugin in the search results and click Install.

    image

  4. Wait for the installation to complete.

    The manager automatically performs the following operations:

    • Downloads the plugin source code.

    • Validates GPG signatures if the plugin supports them.

    • Installs Python dependency packages.

    • Creates node configuration files.

  5. Restart and Refresh

    After the installation is complete, click the Restart button in ComfyUI Manager to restart ComfyUI. Refresh your browser to use the new plugin.

    image

Method 3: Install using file management

Use this method for batch migration of plugins from existing ComfyUI environments, such as ECS instances, importing closed-source plugins, or installing open-source plugins in restricted network environments.

Prerequisites

  • You have a batch of plugins from another ComfyUI environment, or you have the source packages for closed-source plugins.

Procedure

  1. 1. Prepare the compressed plugin package

    • Package from an existing environment: In an existing ComfyUI environment, go to the custom_nodes directory. Select one or more plugin folders that you need and package them into a .zip file.

      Note

      Many plugins can slow down the startup of ComfyUI. Select only the necessary plugins in the custom_nodes directory and compress them into a .zip package. Do not compress the entire custom_nodes directory.

    • Download from a code hosting platform: Download the .zip source code package directly from the repository page on a platform such as GitHub.

  2. Upload and import a compressed package

    Choose an upload method based on the size of the compressed package:

    • Import from OSS (recommended for large files or cross-project sharing)

      1. Upload the .zip file to OSS.

        The OSS bucket must be in the same region as the target FunArt project. For more information about how to upload files, see ossutil command line interface 2.0.
      2. In the FunArt console, go to the ComfyUI project. Go to File Management > Import from OSS, select the bucket and file, and import them into the project.

    • Direct local upload (only for small files)

      • In the FunArt console, go to the ComfyUI project. Go to File Management > Local Upload to upload the local compressed package to the project.

        Local uploads over the public network are slower and are typically used for single, small plugin source packages.
    Note

    The workstation does not need to be running when you create compressed packages or use file management to upload and import files.

  3. 3. Start the workstation and extract the package

    To prevent ComfyUI from freezing during startup due to the automatic installation of many plugin dependencies, follow these steps:

    1. Go to Project Development, start the workstation, and wait for the instance to run.

    2. Go to File Management. Find the imported compressed plugin package and extract it to the destination path, such as the comfyui/custom_nodes directory.

      Note

      When you publish an online service, the custom_nodes directory has a size limit. For more information, see ComfyUI Project FAQ. If you import the compressed package into the custom_nodes directory, you must delete the compressed package immediately after you extract the files.

  4. Install Plugin Dependencies

    Go to Project Development > Instance List and click Log on to Instance to access the terminal. Install the dependencies for the plugin that you just extracted. You can choose one of the following methods:

    • Manual installation: For more information, see Method 1: Log on to the instance and install using Git clone (Recommended)

    • One-click installation: Run the following command to invoke the one-click dependency installation feature that is provided by FunArt.

      You can view the detailed output of the installation process in Project Development > Operational Logs.
      curl -X POST http://localhost:9000/management/install -H "Content-Type: application/json"
  5. 5. Restart, verify, and troubleshoot

    • Restart the service: On the Workstation page, click Restart in ComfyUI Manager to restart ComfyUI.

    • Check logs: Go to Project Development > Operational Logs. Search for the keyword Import times for custom nodes to view the loading status of each plugin.

    • Handle conflicts (if any): Open-source plugins may have Python library dependency conflicts. Although the one-click dependency installation feature attempts to mitigate these issues, it does not guarantee 100% success.

      • If the log indicates that a plugin failed to import (Failed to import), use Method 1 and the error message to manually resolve dependencies. For more information, see the plugin's official documentation.

      • Repeat the process of Fix Dependencies > Restart > View Logs until all target plugins load successfully.