How to Update ComfyUI Manually on Windows

If you’re using ComfyUI and encounter an issue where the ComfyUI Manager fails to update the software, you can manually update it using a simple Windows batch script. This method ensures you stay up-to-date without relying on the built-in manager. The process involves a series of automated steps to pull the latest changes from the repository, update dependencies, and ensure everything is running smoothly. It’s an efficient workaround, especially for users who frequently encounter update issues with the manager custom node.

  • Open up a text editor and create a file called update_all.bat based on the text below.
@echo off
cd ComfyUI
echo Updating ComfyUI
git pull
cd custom_nodes

for /D %%i in (*) do (
    if exist "%%i\.git" (
        echo Updating %%i
        cd "%%i"
        git pull
        cd ..
    )
)

echo All repositories updated.
pause
  • Save the batch file under the ComfyUI_windows_portable folder.
  • Double click on update_all.bat to start updating.

You might have to start ComfyUI a few times for the new dependencies to be installed. That’s it. Please let us know if this works for you.


This post may contain affiliated links. When you click on the link and purchase a product, we receive a small commision to keep us running. Thanks.


Be the first to comment

Leave a Reply