Maybe ComfyUI is the best AI image generation software on macOS. This video will guide you to install Comfy UI on Mac. So let's get started. Step 1: Install Homebrew. Open URL brew.sh with your browser. Click the button right of the command. This will copy it to clipboard. Press F4 on your Mac and type 'Terminal', then press Enter. This will open the Terminal app. Right-click in Terminal window, select Paste, then press Return. It will install Homebrew. Enter your Mac password, then press Return. Click Enter to continue. Waiting to complete. When finished, add Homebrew to MacPath with this command. You can find the command text in this video's description. If you cannot install Homebrew in Terminal, please go to Homebrew's GitHub page. Scroll down and download the package file. Bob will click the package file and install it manually. When finished, press Enter and Enter. Input your Mac password. Return to Terminal, add Homebrew to MacPath with this command. And then, run command 'brew -v'. If you get Homebrew version, you should be able to run 'brew' from anywhere. Or you need to reinstall it. Step 2: Install Python. Return to the Terminal app, run the command to install blabla, and press Return. This step is easy, just wait until it's done. If you cannot install Python with command, you can install Python three other versions manually from python.org also. Double-click it when finished. Click Continue, and Next, and Next. Enter Mac passwords. When finished, run command 'python3 --version' and press Enter. To get Python version means you installed Python correctly. Exit Python. Step 3: Install pip. In the Terminal app, run the command 'python3 -m pip install --upgrade setuptools'. Setup tools. Step 4: Install PyTorch. Go to the PyTorch link with your browser. Select Build, OS, Package, Language, copy the command. Turn to Terminal and paste to command line, then press Return. Waiting to complete. It will take some time. Step 5:
73
00:05:32,000 --> 00:05:34,460
Clone and install Comfy UI. Run the Comfy UI code on your local storage by running the command in Terminal. Now start installing Comfy UI from Comfy UI's directory. Run 'cd comfy-ui' command. Run command 'pip3 install -r requirements.txt'. Waiting to complete. It will take a while. Step 6: Run Comfy UI. Make sure you're in the Comfy UI root directory. Run command 'python3 main.py'. Copy the link. Open browser. Paste the link into the browser address and press Enter. Click 'Load Default' button. In Comfy UI window, we can see many little windows. It seems a little complicated. We can't wait to try it. Click the 'Q Prompt' button to generate a picture. Unfortunately, we get an error. That's because we have no model installed. Step 7: Install a model. Open the link of Stable Diffusion, scroll down, then download the .ckpt file. When finished, copy it to Comfy UI checkpoints folder. If you follow the video step by step, Comfy UI folder is in the folder Users/ [Your Username], as this. Open the folder named 'checkpoints'. Paste the model here. Return to browser and reload the page. Click the arrow in 'Load Checkpoints' window. You will find the installed model. Click the 'Q Prompt' button to generate a picture. It worked! Let's try another prompt text. We can right-click on the pic to save it to disk. Step 8: Install Comfy UI Manager. Comfy UI Manager is an extension designed to enhance the usability of Comfy UI. It offers management functions to install, remove, disable, and enable various custom nodes of Comfy UI. Open Comfy UI Manager GitHub page with browser. Copy the command and paste it into Terminal, then press Enter. Make sure you are in the Comfy UI folder before you run the command. Copy the 'git clone' command and paste into Terminal, then press Enter. Change directory with command 'cd ..' when download completed. Start Comfy UI. Reload the page with browser. You can find Comfy UI Manager on the right sidebar. Now that we're done installing Comfy UI on macOS, thanks for watching. See you next time.