Automated and customizable script for installing and configuring ComfyUI on Windows with custom nodes and models.
- Windows 10/11
- Internet connection
Download OneRunComfyUI (.exe) <- Click here.
After downloading, simply run the file to start the application.
Download and install uv (ultra-fast Python package manager):
- Open PowerShell as administrator
- Run the command:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"Or download directly from the official website: https://docs.astral.sh/uv/getting-started/installation/
Why uv? Because it's good; Future updates will need it too.
- Download the
OneRunComfyUI.pyfile - Open terminal/PowerShell in the folder where you saved the file
- Execute:
uv run OneRunComfyUI.pyor
python OneRunComfyUI.pyThe script will automatically:
- ✅ Download and install ComfyUI
- ✅ Set up necessary tools (7zip, curl, git)
- ✅ Download configured custom nodes
- ✅ Download configured models
- ✅ Clean up temporary files
Edit the custom_nodes_git_urls in the main function of the OneRunComfyUI.py file:
custom_nodes_git_urls = [
"https://github.com/rgthree/rgthree-comfy.git",
"https://github.com/ltdrdata/ComfyUI-Manager",
"https://github.com/your-custom-node-here.git", # Add more here
]Edit the models in the main function of the OneRunComfyUI.py file:
models = [
{
"url": "https://huggingface.co/model/resolve/main/file.safetensors",
"filename": "filename.safetensors",
"directory": "checkpoints_dir" # or upscale_dir
},
# Add more models here
]Available directory types:
checkpoints_dir- For main modelsupscale_dir- For upscale models
- The script checks if files already exist before downloading
- Works offline after first installation (except for new content downloads)
- Automatically removes temporary files after installation
ComfyUI will be available at:
ComfyUI_windows_portable/
To start ComfyUI, run the corresponding .bat file in the installed folder.
