@TOC
After the installation is complete, it is recommended to read this tutorial: AI Painting: Stable Diffusion Ultimate Alchemy Book: From Beginner to Master
Practical environment:
macOS 13 Arm64 (recommended for systems above 12)
Apple M1
Let's look at a few examples:
AI Painting StableDiffusion Practical Tutorial: Frost Cheongsam Beauty
Don't talk nonsense, go directly to the tutorial
HomeBrew installation detection
If HomeBrew is not installed, run the following command in the terminal to install it:
Enter the installation command in the terminal command line window.
There are a few things to note here.
The following is the official installation command given by Homebrew: (If you do not have a VPN, do not use this command to install!)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Usually, the instructions given by the official website will report an error:
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
Because this is a foreign website, due to the existence of GFW (Great Firewall of China), it cannot be accessed without a VPN, so the connection is refused!
Don't worry, there is a solution!
As long as we install from the domestic mirror website, everything is OK.
The following is the correct posture for installing Homebrew in China: (based on the automatic installation script of a great god on gitee)
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
After pressing Enter to execute the command, follow the prompts. Specifically, the following prompt operations are included:
1. Select the download mirror
Select the download source according to your needs. For example, if I choose the download source of University of Science and Technology of China here, just enter '1' and press Enter.
[External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-73J1j4BR-1689500191571)(https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp /b955f7fb53414b9d95b7306f987eaad3~tplv-k3u1fbpfcp-zoom-1.image)]
2. Confirm to delete the old version
If there is an old version, a prompt to delete the old version will pop up, enter "Y" and press Enter.
3. Enter the power-on password (for mac to confirm third-party application installation)
4. Enter and skip
[External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-uEN1P5wH-1689500191572)(https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp /815ade1eb84a4f4789c4714448899707~tplv-k3u1fbpfcp-zoom-1.image)]
5. Mirror source after successful installation and configuration
6. Restart the terminal or run source /Users/xixi/.zprofile to make brew take effect
Git installation detection
If Git is not installed, you need to install it
Enter the following command:
brew install git
Software Installation:
Online disk download: I shared "AITools (Love Rabbit)" with the Quark online disk, click the link to save it. Open "Quark APP"
Link: https://pan.quark.cn/s/7d93e96740e5
MacOS system (M1/M2) install AI painting StableDiffusion nanny level tutorial
Open after installation:
It will take a long time to install various required dependent libraries when starting for the first time, please wait patiently.
Finally started successfully:
[External link picture transfer failed, the source site may have an anti-theft link mechanism, it is recommended to save the picture and upload it directly (img-Ehv9hwwT-1689500191573)(https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp /586b956b961c4ccda3eacc9732652a62~tplv-k3u1fbpfcp-zoom-1.image)]
This tutorial is collected at: Summary of AIGC tutorials from entry to mastery