This guide will show you different methods to install custom nodes in ComfyUI
ComfyUI/custom_nodes
directoryMethod | Advantages | Disadvantages |
---|---|---|
ComfyUI Manager (Recommended) | 1. Automated installation 2. Dependency handling 3. GUI interface | Cannot directly search for nodes not registered in the registry |
Git Clone | Can install nodes not registered in the registry | 1. Requires Git knowledge 2. Manual dependency handling 3. Installation risks |
Repository ZIP Download | 1. No Git required 2. Manual control | 1. Manual dependency handling 2. No version control 3. Installation risks |
Click the `Manager` button in ComfyUI interface
Select `Install Custom Nodes`
Browse the custom nodes list
⚠️
may have dependency conflicts with other plugins✅
indicate their activity level on GithubClick the `Install` button for the desired node
Install
button
nightly
版本,这会从 Github 直接下载对应的插件源码最新版本,但同时如果你的 Manager security_level
为 normal
将不允许你直接从 Github 下载源码,因为对应代码没有经过扫描latest
或者带有数字的稳定版本,对应的代码将会从 https://registry.comfy.org/ 进行下载,这意味着对应的代码经过审查,不会触发安全检查nightly
版本通常是最新的版本,但因为它直接从 github 下载没有经过审查的版本,存在一定的代码风险,如果你一定需要安装nightly
版本,请将 Manager 的 security_level
设置为 weak
对应配置文件路径为 ComfyUI/user/default/ComfyUI-Manager/config.ini
,但请注意这并不是我们推荐的配置,请只临时使用这个配置Wait for dependencies to install and restart ComfyUI
Verify successful installation
import failed
errors
Get the repository URL
Navigate to custom_nodes directory
Clone the repository
Install dependencies
Restart ComfyUI and refresh browser
import failed
errorsClick `Code` → `Download ZIP` on GitHub
Code
→ Download ZIP
on the GitHub page
Extract the ZIP file
Copy extracted folder to `ComfyUI/custom_nodes/` directory
ComfyUI/custom_nodes/
directoryInstall dependencies manually (same as Git method step 4)
Verify successful installation
import failed
errors