u/Merserk13

Install ComfyUI easily on Ubuntu / WSL2: one-command universal installer with NVIDIA, AMD, and Intel GPU support

Install ComfyUI easily on Ubuntu / WSL2: one-command universal installer with NVIDIA, AMD, and Intel GPU support

Hi everyone - I made a universal Bash installer to make installing ComfyUI easier on native Ubuntu and Ubuntu inside WSL2.

GitHub repo: https://github.com/Merserk/comfyui-ubuntu-universal-installer

It automatically detects your setup and installs the right ComfyUI environment for:

NVIDIA - CUDA
AMD - ROCm
Intel - XPU
WSL2 - GPU-aware setup for Windows users running Ubuntu in WSL

The script installs or updates ComfyUI, creates a clean Python virtual environment, installs the matching PyTorch GPU build, verifies GPU access, and creates launchers so you can start ComfyUI easily.

One-command install:

curl -fsSL https://raw.githubusercontent.com/Merserk/comfyui-ubuntu-universal-installer/main/install_comfyui_ubuntu_wsl.sh -o install_comfyui_ubuntu_wsl.sh && sed -i 's/\r$//' install_comfyui_ubuntu_wsl.sh && chmod +x install_comfyui_ubuntu_wsl.sh && ./install_comfyui_ubuntu_wsl.sh

For transparency, the full script is available on GitHub, and I recommend reviewing any install script before running it.

Basic install:

  1. Open a terminal in Ubuntu or WSL2 Ubuntu
  2. Paste the one-command install above
  3. Wait for the setup to finish
  4. Launch ComfyUI with:

comfyui

Then open:

http://127.0.0.1:8188

This may help people who want a simpler way to install ComfyUI on Linux or WSL2 without manually setting up Python, Git, virtual environments, CUDA, ROCm, XPU packages, or PyTorch wheels.

Feedback, bug reports, and suggestions are welcome.

u/Merserk13 — 3 days ago

Hi everyone - I made a portable Windows batch script to make installing Stable Diffusion WebUI Forge easier.

GitHub repo: https://github.com/Merserk/sd-webui-forge-universal-portable

It lets you install and choose between:

Forge Classic - stable/traditional version
Forge Neo - newer experimental version

It is designed for people who want an easier way to install Stable Diffusion WebUI Forge on Windows without manually setting up Python, Git, virtual environments, or dependencies.

Basic install:

  1. Download install_forge_universal.bat
  2. Double-click it
  3. Choose Forge Neo or Forge Classic
  4. Run the generated launcher

This may also help people looking for a simple way to install Stable Diffusion on Windows, install Stable Diffusion WebUI Forge, or try a Forge-based alternative to A1111 / Automatic1111.

Feedback, bug reports, and suggestions are welcome.

u/Merserk13 — 8 days ago