-
-
Notifications
You must be signed in to change notification settings - Fork 14
Getting Started
It is recommended to download Source code (zip)
from the latest release on the releases page for better stability, however if you want the most up-to-date version with the most features you can clone the repo with the following command:
git clone https://github.com/ImDarkTom/ComfyUIMini.git
cd ./ComfyUIMini
For the most straightforward installation, use the provided install script for your platform:
Windows:
.\scripts\install.bat
Linux/MacOS:
chmod +x ./scripts/install.sh
./scripts/install.sh
If you prefer to install manually, you can do so too:
- Install dependencies
npm install
- Build the app
npm run build
Before starting, you will need to make sure that you set some initial configs or the app may not run, copy the default config template at config/default.example.json
to config/default.json
, and make sure that output_dir
is set to your ComfyUI's output images folder.
(If you are on Windows, you may need to use two backslahes to denote directory, e.g. C:\\path\\to\\output\\dir
)
For a more comprehensive list on each config option, you can look at configuring.
After setting configurations, you can then start the app with:
Windows:
.\scripts\start.bat
Linux/MacOS:
chmod +x ./scripts/start.sh
./scripts/start.sh
npm start
Note: You may experience a crash on first launch, this should be resolve by launching again.
For updating, you can run the update script in the ./scripts/
directory for your respective platform (.bat
for Windows, .sh
for Linux and MacOS).