download. First launch installs PyTorch and other packages, several gigabytes.
Who it is forA Linux user with a GPU who wants local image generation.
The problemSetting up Python environments and models by hand is error prone.
The outcomeThe web UI running in your browser, ready for txt2img.
What you need first
- Python 3.10 or 3.11 and git
- An NVIDIA, AMD or Apple Silicon GPU
- A Stable Diffusion model checkpoint
Steps
- Install dependencies, for example
sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0on Debian based systems - Download the script with
wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh - Or clone with
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui - Run
webui.shand open the local URL it prints - Check
webui-user.shfor options
Prompt for your agent
Using AUTOMATIC1111/stable-diffusion-webui, install the Debian dependencies from the README, run `git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui`, run `webui.sh`, and confirm txt2img works with <my model>.
Caveat. Apple Silicon has its own install guide on the project wiki.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for AUTOMATIC1111/stable-diffusion-webui and "Install the web UI on Linux with one script"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer