This section provides a comprehensive guide to updating ComfyUI
update
folder within your portable installation directory, you’ll find the following update scripts:ComfyUI Desktop
ComfyUI Portable (Windows)
ComfyUI/requirements.txt
matches the nightly version dependencies to determine if all dependencies support the latest features.
git pull
command to update ComfyUI code but neglect core dependency updates, leading to the following issues:git pull
command, use the corresponding ComfyUI environment to use pip install -r requirements.txt
to update dependencies.ComfyUI_windows_portable\update\update_comfyui.bat
batch script, which will update both ComfyUI code and all Python dependencies.Manual Dependency Update:
If you need to manually update dependencies, use the following command:Check Network Connection
Install Core Packages Individually
ComfyUI/requirements.txt
:Then install according to specified versions:ComfyUI/requirements.txt
. Don’t upgrade to the latest versions independently, as this may cause compatibility issues.update_comfyui.bat
instead of update_comfyui_stable.bat
:pip install -r requirements.txt
to ensure all dependencies are updated