ComfyUI 提供了灵活的 自定义节点(Custom Nodes) 功能,允许用户扩展其能力。随着插件的更新,保持 Custom Nodes 处于最新状态是确保兼容性和功能完整性的关键。
1. 手动升级(Git Pull 方式)
如果你的 自定义节点 是通过 Git 克隆的,可以使用 Git 命令来升级:
步骤:
-
进入 Custom Nodes 目录(通常在
ComfyUI/custom_nodes/
目录下)。cd path/to/ComfyUI/custom_nodes/your_custom_node
-
执行
git pull
命令 更新到最新版本。git pull origin main # 或者 git pull origin master