ComfyUI-Auto_installer / ComfyUI-Missing_nodes.bat
UmeAiRT's picture
bug fix
6294dd3
@echo off
setlocal enabledelayedexpansion
echo Update ComfyUI
cd ComfyUI_windows_portable\update
..\python_embeded\python.exe -m pip install --upgrade pip
..\python_embeded\python.exe .\update.py ..\ComfyUI\
if exist update_new.py (
move /y update_new.py update.py
echo Running updater again since it got updated.
..\python_embeded\python.exe .\update.py ..\ComfyUI\ --skip_self_update
)
cd ..
cd ComfyUI\custom_nodes
REM Clone ComfyUI-Manager
echo Installing ComfyUI-Manager...
git clone https://github.com/ltdrdata/ComfyUI-Manager.git >nul 2>&1
echo Installing additional nodes...
echo - Impact-Pack
git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack >nul 2>&1
cd ComfyUI-Impact-Pack
git clone https://github.com/ltdrdata/ComfyUI-Impact-Subpack impact_subpack >nul 2>&1
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
..\..\..\python_embeded\python.exe -s -m pip install ultralytics --no-warn-script-location >nul 2>&1
cd ..
echo - Controlnet-aux
git clone https://github.com/Fannovel16/comfyui_controlnet_aux >nul 2>&1
cd comfyui_controlnet_aux
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - WAS-Suite
git clone https://github.com/WASasquatch/was-node-suite-comfyui >nul 2>&1
cd was-node-suite-comfyui
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - GGUF
git clone https://github.com/city96/ComfyUI-GGUF >nul 2>&1
cd ComfyUI-GGUF
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - Custom-Scripts
git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts >nul 2>&1
echo - UltimateSDUpscale
git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive >nul 2>&1
echo - Various
git clone https://github.com/jamesWalker55/comfyui-various >nul 2>&1
echo - rgthree
git clone https://github.com/rgthree/rgthree-comfy >nul 2>&1
cd rgthree-comfy
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - Florence2
git clone https://github.com/kijai/ComfyUI-Florence2 >nul 2>&1
cd ComfyUI-Florence2
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - Inpaint-CropAndStitch
git clone https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch >nul 2>&1
echo - Universal-Styler
git clone https://github.com/KoreTeknology/ComfyUI-Universal-Styler >nul 2>&1
echo - Tensorops
git clone https://github.com/un-seen/comfyui-tensorops >nul 2>&1
cd comfyui-tensorops
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - X-Flux
git clone https://github.com/XLabs-AI/x-flux-comfyui >nul 2>&1
cd x-flux-comfyui
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - Efficiency Nodes
git clone https://github.com/jags111/efficiency-nodes-comfyui >nul 2>&1
cd efficiency-nodes-comfyui
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - Comfyroll
git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes >nul 2>&1
echo - Art-venture
git clone https://github.com/sipherxyz/comfyui-art-venture >nul 2>&1
cd comfyui-art-venture
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - Dream-project
git clone https://github.com/alt-key-project/comfyui-dream-project >nul 2>&1
cd comfyui-dream-project
..\..\..\python_embeded\python.exe -s -m pip install imageio pilgram scipy numpy==1.24.4 torchvision evalidate --no-warn-script-location >nul 2>&1
cd ..
echo - KJNodes
git clone https://github.com/kijai/ComfyUI-KJNodes >nul 2>&1
cd ComfyUI-KJNodes
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - Lora-Auto-Trigger-Words
git clone https://github.com/idrirap/ComfyUI-Lora-Auto-Trigger-Words >nul 2>&1
echo - Easy-Use
git clone https://github.com/yolain/ComfyUI-Easy-Use >nul 2>&1
cd ComfyUI-Easy-Use
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - mxToolkit
git clone https://github.com/Smirnov75/ComfyUI-mxToolkit >nul 2>&1
echo - RvTools
git clone https://github.com/Rvage0815/ComfyUI-RvTools >nul 2>&1
cd ComfyUI-RvTools
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - Zssentials
git clone https://github.com/cubiq/ComfyUI_essentials >nul 2>&1
cd ComfyUI_essentials
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - ModdedNodes
git clone https://github.com/Derfuu/Derfuu_ComfyUI_ModdedNodes >nul 2>&1
echo - LayerStyle
git clone https://github.com/chflame163/ComfyUI_LayerStyle >nul 2>&1
cd ComfyUI_LayerStyle
..\..\..\python_embeded\python.exe -s -m pip install .\whl\docopt-0.6.2-py2.py3-none-any.whl --no-warn-script-location >nul 2>&1
..\..\..\python_embeded\python.exe -s -m pip install .\whl\hydra_core-1.3.2-py3-none-any.whl --no-warn-script-location >nul 2>&1
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..
echo - PulID
git clone https://github.com/sipie800/ComfyUI-PuLID-Flux-Enhanced >nul 2>&1
cd ..\..\python_embeded
curl -L -o "insightface-0.7.3-cp311-cp311-win_amd64.whl" https://github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp311-cp311-win_amd64.whl >nul 2>&1
.\python.exe -m pip install --use-pep517 facexlib >nul 2>&1
.\python.exe -m pip install git+https://github.com/rodjjo/filterpy.git >nul 2>&1
.\python.exe -m pip install onnxruntime==1.19.2 onnxruntime-gpu==1.15.1 insightface-0.7.3-cp311-cp311-win_amd64.whl >nul 2>&1
cd ..
cd ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt --no-warn-script-location >nul 2>&1
cd ..\..
cd models
curl -L -o "insightface.7z" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/insightface.7z?download=true >nul 2>&1
"%SEVEN_ZIP_PATH%" x insightface.7z -o"%CD%" -y >nul 2>&1
del /f insightface.7z -force >nul 2>&1
mkdir pulid
cd pulid
curl -L -o "pulid_flux_v0.9.0.safetensors" https://huggingface.co/UmeAiRT/ComfyUI-Auto_installer/resolve/main/models/pulid/pulid_flux_v0.9.0.safetensors?download=true >nul 2>&1
cd ..