This section shows you how to install and run AUTOMATIC1111 on Mac step-by-step.
Please make sure your system meets the following requirements:
- Mac OS 12.5.1 or above.
- Apple Silicon Mac model.
- 16 GB or minimum 8 GB of RAM.
- Mac with M1 or M2 chip (recommended), or Intel-based Mac (performance may be slower).
Step 1: Install Homebrew
Install Homebrew, a package manager for Mac, if you haven’t already. Open the Terminal app, type the following command, and press return.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Step 2: Install a few required packages
Install a few required packages. Open a new terminal and run the following command
brew install cmake protobuf rust python@3.10 git wget
Step 3: Clone the webui repository
Clone the AUTOMATIC1111 repository by running the following command in the terminal
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
A new folder stable-diffusion-webui
should be created under your home directory.
Step 4: download model
You will need a model to run Stable Diffusion. Use the following link to download the v1.5 model.
Put the file in the folder stable-diffusion-webui/models/Stable-diffusion
. You can get there in the Finder app. In the top menu, click Go and then Home. Double Click to go to the folder stable-diffusion-webui
, and then models
, and then Stable-diffusion
.
When you are done with this step, the Stable-diffusion
folder should have two files like below.
Step 5: Run Webui
Follow the steps in this section to start AUTOMATIC1111 GUI for Stable Diffusion.
In the terminal, run the following command.
cd ~/stable-diffusion-webui;./webui.sh
It will take a while when you run it for the very first time.
Open a web browser and click the following URL to start Stable Diffusion.
http://127.0.0.1:7860/
You should see the AUTOMATIC1111 GUI. Put in a prompt “a cat” and press Generate to test using the GUI.
Close the terminal when you are done. Follow the steps in this section the next time when you want to run Stable Diffusion.
Here is a how-to-use guide for beginners: How to use Stable Diffusion