Reading the repo
Reading the repo
How to install on Windows
Stable Diffusion web UI
Saved setup from 7 h ago
The maintainers included webui.bat. Run it from the cloned folder after reading it.
.\webui.bat
Also: webui-user.bat, webui.sh, webui-macos-env.sh, webui-user.sh
Will it work on my device?
winget install Git.Git) or WSL2 (wsl --install).Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git cd stable-diffusion-webui
Node.js 18, Python 3.10.6
winget install CoreyButler.NVMforWindows nvm install 18 nvm use 18 winget install Python.Python.3.10
npm install python -m venv .venv .venv\Scripts\Activate.ps1 pip install -r requirements.txt
The steps run shell scripts (.sh). Use Git Bash (winget install Git.Git) or WSL2 (wsl --install).
Make sure the required dependencies are met and follow the instructions available for:
Alternatively, use online services (like Google Colab):
sd.webui.zip from v1.0.0-pre and extract its contents.update.bat.run.bat.For more details see Install-and-Run-on-NVidia-GPUs
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git.webui-user.bat from Windows Explorer as normal, non-administrator, user.# Debian-based:
sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0
# Red Hat-based:
sudo dnf install wget git python3 gperftools-libs libglvnd-glx
# openSUSE-based:
sudo zypper install wget git python3 libtcmalloc4 libglvnd
# Arch-based:
sudo pacman -S wget git python3
If your system is very new, you need to install python3.11 or python3.10:
# Ubuntu 24.04
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.11
# Manjaro/Arch
sudo pacman -S yay
yay -S python311 # do not confuse with python3.11 package
# Only for 3.11
# Then set up env variable in launch script
export python_cmd="python3.11"
# or in webui-user.sh
python_cmd="python3.11"
wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh
Or just clone the repo wherever you want:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
webui.sh.webui-user.sh for options.Find the instructions here.
No reports for Windows yet.
Opens a chat with this manual already filled in, for Windows. It uses your own account; gitmanual sends nothing.