File size: 5,058 Bytes
cb3b00b 45f3487 cb3b00b 45f3487 54f438b 45f3487 ea525b3 45f3487 65b7ff0 f81a632 f2b2762 f81a632 f2b2762 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
---
license: mit
tags:
- code
- comfyui
- installer
- auto
---
# UmeAiRT's ComfyUI Auto-Installer



This project provides a suite of PowerShell scripts to fully automate the installation and configuration of ComfyUI on Windows. The approach uses a clean installation based on `git` and a Python virtual environment (`venv`), ensuring an isolated, easy-to-update, and maintainable setup.
## Features
- **Clean Installation:** Clones the latest version of ComfyUI from the official repository and installs it in a dedicated Anaconda Python virtual environment.
- **Dependency Management:** Automatically checks for and installs necessary tools:
- Anaconda Python 3.12 (if not present on the system)
- Git
- 7-Zip
- Aria2 (for accelerated downloads)
- **CSV-Managed Custom Nodes:** Installs a comprehensive list of custom nodes defined in an external `custom_nodes.csv` file, making it simple to add new nodes.
- **Interactive Model Downloaders:** Dedicated scripts guide you with menus to download the model packs you want (FLUX, WAN, HIDREAM, LTXV), with recommendations based on your graphics card's VRAM.
- **Dedicated Update Script:** A specific `UmeAiRT-Updater.ps1` script allows you to update ComfyUI, all custom nodes, and workflows with a single command.
- **Automated Launchers:** The project generates `.bat` files to run the installation, updates, and the final application, automatically handling administrator rights and PowerShell execution policies.
- **Supplementary modules:** The script also installs some complex modules such as: Sageattention, Triton, Visual Studio Build Tools, ...
- **Workflow included:** A large amount of workflows are pre-installed for each model.
## Prerequisites
- Windows 10 or Windows 11 (64-bit).
- An active internet connection.
- CUDA 13.0.
- Python 3.12.
- GIT for Windows.
## Installation and Usage
The entire process is designed to be as simple as possible.
1. **Download the Project:** Download `UmeAiRT-Install-ComfyUI.bat` and put it to a folder of your choice (e.g., `C:\UmeAiRT-Installer`).
2. **Run the Installer:**
- Run the file `UmeAiRT-Install-ComfyUI.bat`.
- It will ask for administrator privileges. Please accept.
- The script will first download the latest versions of all installation scripts from the repository to ensure you are using the most recent version.
3. **Follow the Instructions:**
- The main installation script will then launch. It will install Python (if necessary), Git, 7-Zip, Aria2, and then ComfyUI.
- Next, it will install all custom nodes and their Python dependencies into the virtual environment.
- Finally, it will ask you a series of questions about which model packs you wish to download. Simply answer `Y` (yes) or `N` (no) to each question.
At the end of the process, your ComfyUI installation will be complete and ready to use.
## Post-Installation Usage
Three main `.bat` files will be available in your folder to manage the application:
- **`UmeAiRT-Start-ComfyUI.bat`**
- This is the file you will use to **launch ComfyUI**. It activates the virtual environment and starts the server.
- **`UmeAiRT-Download_models.bat`**
- Run this script if you want to **add more model packs** later without reinstalling everything. It will present you with the same selection menu as the initial installation.
- **`UmeAiRT-Update-ComfyUI.bat`**
- Execute this script to **update your entire installation**. It will update the code for ComfyUI, all custom nodes, and your workflows, and it will install any new Python dependencies if required.
## File Structure
- **`/` (your root folder)**
- `UmeAiRT-Installer-Updater.bat` (Main launcher that updates and installs)
- `UmeAiRT-Start-ComfyUI.bat` (Created after installation to launch ComfyUI)
- `UmeAiRT-Update-ComfyUI.bat` (Launcher for the update script)
- `UmeAiRT-Download_models.bat` (Menu to download more models later)
- **`scripts/`** (Contains all PowerShell scripts)
- `Install-ComfyUI.ps1`
- `UmeAiRT-Updater.ps1`
- `Download-FLUX-Models.ps1` (and other model downloaders)
- `custom_nodes.csv` (The list of all custom nodes to install)
- **`ComfyUI/`** (Created after installation, contains the application)
- **`logs/`** (Created, contains installation/update logs)
## Contributing
Suggestions and contributions are welcome. If you find a bug or have an idea for an improvement to the scripts, feel free to open an "Issue" on this GitHub repository.
## License
This project is under the MIT License. See the `LICENSE` file for more details.
## Acknowledgements
- To **Comfyanonymous** for creating the incredible ComfyUI.
- To the authors of all the **custom nodes** that enrich the ecosystem.
![alt text][logo]
[logo]: images/UmeAiRT.png "UmeAiRT logo" |