> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish a Custom Node to ComfyUI Manager

> Register a custom node with ComfyUI Manager by opening a pull request that adds it to custom-node-list.json, plus the git repository requirements.

### Using ComfyUI Manager

To make your custom node available through **ComfyUI Manager** you need to save it as a git repository (generally at `github.com`)
and then submit a Pull Request on the **ComfyUI Manager** git, in which you have edited `custom-node-list.json` to add your node.
[More details](https://github.com/Comfy-Org/ComfyUI-Manager?tab=readme-ov-file#how-to-register-your-custom-node-into-comfyui-manager).

When a user installs the node, **ComfyUI Manager** will:

**1. Git Clone**

git clone the repository,

**2. Install Python Dependencies**

install the pip dependencies listed in the custom node repository under `requirements.txt` (if present),

```
pip install -r requirements.txt
```

> [!TIP]
>
> As is always the case with `pip`, it is possible that your node requirements will be in conflict with other
> custom nodes. Don't make your `requirements.txt` any more restrictive than they need to be.

**3. Run Install Script**

execute `install.py`, if it is present in the custom node repository.
\[!TIP] `install.py` is executed from the root path of the custom node

### ComfyUI Manager files

As indicated above, there are a number of files and scripts that **ComfyUI Manager** will use to manage the lifecycle of
a custom node. These are all optional.

* `requirements.txt` - Python dependencies as mentioned above
* `install.py`, `uninstall.py` - executed when the custom node is installed or uninstalled
  \[!TIP] Users can just delete the directory, so you can't rely on `uninstall.py` being run
* `disable.py`, `enable.py` - optional hooks. Only the legacy git-clone flow runs them when it disables or re-enables a node. The current disable and enable actions just move the folder, so do not rely on these scripts
  \[!TIP] `enable.py` is only run when a disabled node is re-enabled - it should just reverse anything done in `disable.py`
  \[!TIP] Disabling a custom node moves its folder into `ComfyUI/custom_nodes/.disabled/`, and Comfy ignores it while it sits there
* `node_list.json` - only required if the custom nodes pattern of NODE\_CLASS\_MAPPINGS is not conventional.

See the [ComfyUI Manager guide](https://github.com/Comfy-Org/ComfyUI-Manager?tab=readme-ov-file#custom-node-support-guide) for official details.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.