|

How To Update Automatic1111 for Stable Diffusion

Want to update Automatic1111 to the latest version? You’ve landed on the right page. 

When it comes to updating Automatic1111, I’ve read far too many stories of botched updates or people messing up something. 

If you’re someone who is not well-versed in Python, Git, and using command prompts, you don’t have to beat yourself up for messing up an update. 

And today, I’m here to fix all your problems by detailing step-by-step how to update Automatic1111 to the latest version. 

I’ll be sharing multiple approaches you can follow to update Automatic1111 and they’re all pretty straightforward. 

So, without any further ado, let’s dive in. 

How To Update Automatic1111

Whether you’re using Windows or Mac, I’ll be covering how you can update Automatic1111 to the latest version. 

Let’s start with Windows first. 

Updating Automatic1111 On Windows

On Windows, you can update Automatic1111 either automatically or manually. Let’s see how you can do that: 

Auto-Update Automatic1111

By setting up auto-updating for Automatic1111, you’ll never have to worry about updates anymore.
With this approach, every time you open Automatic1111, it’ll check for updates and download the update if there’s a new version available. 

So, how do you do it? 

Head over to your Automatic1111 installation folder and right-click on the webui-user.bat file. 

Click on Edit and choose any text editing software such as Notepad. 

Update Automatic1111 - Edit WebUser Bat

In this file, add the following between “set” and “call”: 

set COMMANDLINE_ARGS= --medvram --autolaunch

git pull

call webui.bat

So, here’s how the contents of this file should look like after adding the above lines: 

@echo off

set PYTHON=C:\Users\Ahfaz\AppData\Local\Programs\Python\Python310\python.exe

set GIT=

set VENV_DIR=

set COMMANDLINE_ARGS=--medvram --xformers

git pull

call webui.bat

By adding “git pull” to this file, Automatic1111 will always check for updates whenever you launch it. 

And if you’re curious, update checks only take a few seconds so you’ll not be slowing down the startup time of Automatic1111 by doing this. 

Manual Update Automatic1111

To manually update Automatic1111, go to your Automatic1111 installation directory and right-click on stable-diffusion-webui folder. 

Update Automatic1111 - Git Bash Here

Click on the Git Bash Here option and it’ll open a command terminal where you’ll have to enter the following command: 

git pull 

Press enter and it’ll start updating Automatic1111 and your WebUI will be updated to the latest version. 

This method is very quick and easy as well and if you don’t want to automatically update Automatic1111, then you should do this instead. 

Updating Automatic1111 On Mac

To update Automatic1111 on Mac, go to your Automatic1111 installation directory and right-click on the stable-diffusion-webui folder. 

Click on the New Terminal at Folder option and enter the following command: 

git pull 

This will begin updating Automatic1111. 

Using StabilityMatrix

If you’ve read my guide to Automatic1111, you must’ve noticed that I recommend using StabilityMatrix for installing Stable Diffusion. 

That’s because this is a one-click installer for Stable Diffusion WebUI’s such as Automatic1111 or ComfyUI and makes the entire process very easy. 

So, if you’ve used StabilityMatrix to install Automatic1111, you can also update it to the latest version using this software. 

Open StabilityMatrix and go to the Packages menu. Here, click on the three dots on the Stable Diffusion WebUI and click on Check for Updates. 

Stability Matrix - Update SD

If there’s a new update available, it’ll prompt you to download and update Automatic1111. 

Conclusion

Automatic1111 is frequently updated and there’s new features coming every now and then. It’s always a good habit to make sure you’re using the latest version of Automatic1111. 

With this guide, we covered the different methods you can use to update Automatic1111. I hope this guide helps you safely update your Automatic1111 to the latest version. 

If you have any questions regarding Automatic1111 or are facing any issues during updating, let me know in the comments below. 

Stable Diffusion Prompt Organizer

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.