A set of shell scripts to install, launch, update, and manage ComfyUI on Linux and macOS — with multi-OS support, Python version selection, and a clean terminal interface.
- 🖥️ Multi-OS support — Fedora/RHEL, Arch Linux, Ubuntu/Debian, macOS
- 🐍 Python version selection — Choose between 3.12, 3.13, or 3.14 at install time
- ⚡ Automatic CUDA detection — PyTorch installed with the right backend for your hardware
- 🔀 Python switcher — Switch the venv Python version without reinstalling ComfyUI
- 📊 System info dashboard — Full diagnostic display in a clean terminal UI
- 🚀 Smart launcher — Auto-detects GPU and applies the right flags
| Script | Description |
|---|---|
install.sh |
Full installation: OS deps, Python, ComfyUI, ComfyUI-Manager, venv, PyTorch |
launch.sh |
Launch ComfyUI using the installed venv |
update-comfyui.sh |
Pull latest ComfyUI commits and update venv dependencies |
update-torch.sh |
Update PyTorch to the latest version in the venv |
switchpy.sh |
Switch the venv to a different Python version (3.12 / 3.13 / 3.14) |
info.sh |
Display a full system diagnostic: OS, CPU, RAM, GPU, CUDA, Python, PyTorch, ComfyUI |
git clone https://github.com/your-username/Comfy-Launcher-MultiOS.git
cd Comfy-Launcher-MultiOSchmod +x *.sh./install.shYou will be prompted to select:
- Your operating system
- Your Python version (3.12 / 3.13 / 3.14)
The installer will then:
- Check and install
gitif missing - Check and install the selected Python version if missing
- Clone ComfyUI and ComfyUI-Manager
- Create a virtual environment
- Install PyTorch with the right backend (CUDA on Linux, MPS nightly on macOS)
- Install all ComfyUI dependencies
./launch.shOpen your browser at: http://127.0.0.1:8188
| Version | Status | Notes |
|---|---|---|
| 3.12 | Maximum compatibility with custom nodes | |
| 3.13 | ✅ Recommended | Compatible with the vast majority of custom nodes |
| 3.14 | 🧪 Experimental | Some custom nodes may not work |
Arch Linux only packages a single version of Python in its official repos. To support multiple specific versions (3.12, 3.13, 3.14), the installer uses pyenv, installed via your AUR helper.
Requirements:
yayorparumust be installed before runninginstall.shon Arch
The installer will:
- Install all required build dependencies via
pacman - Install
pyenvvia your AUR helper - Automatically configure pyenv in your
.bashrcor.zshrc - Resolve and install the latest patch version of your chosen Python
- Create the venv using that exact Python binary
To switch the Python version used by ComfyUI without reinstalling everything from scratch:
./switchpy.shThe script will:
- Display the currently active Python version (highlighted in yellow)
- Let you choose a new version
- Check and install it if not present on your system
- Delete the old virtual environment
- Recreate a clean one with the new Python version
- Reinstall PyTorch and all ComfyUI dependencies automatically
./update-comfyui.shPulls the latest commits from the ComfyUI repository and updates all venv dependencies.
ComfyUI-Manager updates itself from within the ComfyUI interface.
./update-torch.shReinstalls the latest version of PyTorch in the venv, for your OS and hardware.
./info.shDisplays a full diagnostic dashboard in the terminal:
- 🖥️ System — OS, kernel, CPU, RAM
- ⚡ GPU / CUDA — GPU name, VRAM, driver version, CUDA toolkit
- 🐍 Python — All versions installed on the system (including pyenv), with the ComfyUI venv version highlighted
- 🔥 PyTorch — Version, CUDA/MPS availability, GPU seen by PyTorch
- 🎨 ComfyUI — Branch, commit, date, ComfyUI-Manager status
bash4.0+- A package manager:
dnf,pacman, orapt - Arch only:
yayorparu(AUR helper) must be installed - NVIDIA GPU with drivers installed (recommended)
- CUDA runtime (optional — PyTorch works without
nvcc)
bash4.0+ (brew install bashif needed)- Homebrew
- Apple Silicon recommended for MPS acceleration
After installation, the following structure will be created next to the scripts:
.
├── install.sh
├── launch.sh
├── update-comfyui.sh
├── update-torch.sh
├── switchpy.sh
├── info.sh
└── comfyui/ ← ComfyUI repository
├── .venv/ ← Python virtual environment
├── main.py
├── requirements.txt
└── custom_nodes/
└── comfyui-manager/ ← ComfyUI-Manager
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is released under the MIT License.
ComfyUI is developed by @comfyanonymous — this project is an independent launcher and is not officially affiliated with ComfyUI.