New Tool Radar

Local AI

How to Update Text Generation WebUI with git pull

Update TextGen from source with git pull, keep your models and settings, and roll back if it breaks.

Schematic illustration with three step boxes for How to Update Text Generation WebUI with git pull.

Text Generation WebUI is now called TextGen, at github.com/oobabooga/textgen, and the latest release is v4.9 from 20 May 2026. If you installed it from source, you update it with git pull. This guide backs up your data first, pulls the update, and shows how to roll back if the new version breaks.

Before you start

  • TextGen installed from a git clone.
  • Git installed, and a few minutes when nobody is using the app.
  • Enough free disk for a backup copy of your user_data folder.

Back up user_data first

Copy your user_data folder, which holds your models, characters and settings, to a safe place outside the install folder. Updates have broken working installs before, so do not skip this step.

Pull the latest code

Stop the app, then pull the latest code from the renamed repository:

cd textgen
git pull

The old address github.com/oobabooga/text-generation-webui redirects to the new one, so an old clone still pulls. If you use the full install, run the update wizard instead: update_wizard_windows.bat on Windows, or the Linux or macOS version.

Test and roll back if needed

Start the app and load a model you used before. Ask it one question. If the new version breaks, roll back: note the commit you were on first with git rev-parse HEAD before pulling, then git checkout that commit and restart. For a portable install instead, download the new release and move your user_data folder across.

Worked example

Sample check: before updating, note the commit hash and one model you use, such as a Qwen3 8B GGUF. After pulling, the app should start, the same model should load, and a short question should get an answer. If the app fails to start, roll back to the noted commit.

Expected result

UNTESTED in this guide: no update was run while writing it. The expected result is that TextGen starts on the new code, the same model loads, and a short question gets an answer.

Limitations

Pin the version that works: keep the portable zip or the git commit that works, and update deliberately rather than automatically. The project had no release after v4.9 in May 2026, so a git pull may bring unreleased changes: read the recent commits before pulling.

Sources

See all