【SD Tutorials】How to install Stable Diffusion on Mac
Systems requirements
You need a Mac with Apple Silicon (M1 or M2) for reasonable speed. Ideally, your machine will have 16 GB of memory or more.
Install steps
Step 1: Install Homebrew, 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. Open a new terminal and run the following command
brew install cmake protobuf rust python@3.10 git wget
Step 3: Clone the Stable Diffusion 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 5: 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
.

Run on Mac In the terminal, run the following command.
cd ~/stable-diffusion-webui;./webui.sh

Open a web browser and click the following URL http://127.0.0.1:7860/
to start Stable Diffusion.🥳
About how to install Stable Diffusion on Mac,please click here.