Automatic installation
New install:
- If Homebrew is not installed, follow the instructions at https://brew.sh to install it. Keep the terminal window open and follow the instructions under "Next steps" to add Homebrew to your PATH.
- Open a new terminal window and run
brew install cmake protobuf rust python@3.10 git wget - Clone the web UI repository by running
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui - Place Stable Diffusion models/checkpoints you want to use into
stable-diffusion-webui/models/Stable-diffusion. cd stable-diffusion-webuiand then./webui.shto run the web UI. A Python virtual environment will be created and activated using venv and any remaining missing dependencies will be automatically downloaded and installed.- To relaunch the web UI process later, run
./webui.shagain. Note that it doesn't auto update the web UI; to update, run git pull before running./webui.sh.
Existing Install:
If you have an existing install of web UI that was created with setup_mac.sh, delete the run_webui_mac.sh file and repositories folder from your stable-diffusion-webui folder. Then run git pull to update web UI and then ./webui.sh to run it.