Skip to content
AstrBot
Main Navigation HomeBlogRoadmapHTTP API

English

简体中文

English

简体中文

Toggle dark mode

Intro & DeployMessaging PlatformsAI IntegrationUsageDevelopment
Sidebar Navigation

Introduction

What is AstrBot

Community

FAQ

Deployment

Script Deployment

Desktop Client

One-click Launcher

Docker

Kubernetes

BT Panel

1Panel

Source Deployment

Update AstrBot

Other Deployments

CasaOS

Compshare GPU

Community-provided Deployment

Support Us

Messaging Platforms

Quick Start

QQ Official Bot

Websockets

Webhook

OneBot v11

WeCom Application

WeCom AI Bot

WeChat Official Account

Personal WeChat

Lark

DingTalk

Telegram

LINE

Slack

Mattermost

Misskey

Discord

KOOK

Satori

Connect Satori

Using server-satori

Community-provided

Matrix

VoceChat

AI Integration

✨ Model Providers

MiraRouter

NewAPI

ShengSuanYun

AIHubMix

PPIO Cloud

SiliconFlow

TokenPony

302.AI

DeepSeek TTS

DeepSeek STT

Ollama

LMStudio

⚙️ Agent Runners

Built-in Agent Runner

Dify

Coze

Alibaba Bailian

DeerFlow

Usage

WebUI

AstrBot CLI

Built-in Commands

Plugins

Plugins

MCP

Skills

AstrBot Built-in AI

Agent Sandbox

SubAgent Orchestration

Proactive Capabilities

Web Search

SerpApi

DeepSeek Search API

Knowledge Base

Context Compression

Custom Rules

Agent Execution Mode

Unified Webhook Mode

Development

Plugin Development

🌠 Getting Started

Minimal Example

Listen to Message Events

Send Messages

Plugin Configuration

Plugin Views

Overview

Standalone plugin page

Interactive message component

Workbench page

Shared Bridge API

Backend Web APIs

Plugin Internationalization

AI

Models

Agents

Tools

Sessions and Conversations

Other APIs

Storage

HTML to Image

Session Control

Publish Plugin

Plugin Market Specification

Versions

2026-11-25

2026-06-27

Platform Adapter Integration

AstrBot HTTP API

API Scope–Endpoint Reference

AstrBot Configuration File

Others

Diagnostics

Self-hosted HTML to Image

Open Source Summer

OSPP 2025

On this page

Update AstrBot ​

Follow the recommended upgrade steps for your installation method.

Desktop client ​

You can update from the desktop client or download an installer from GitHub Releases.

When a new version is available, the desktop client shows a notification in the upper right. Click it or choose Update from the menu in the same corner. Confirm the installation and reopen the app when prompted.

If you see no notification or the in-app update fails, download the update manually. Desktop client releases

Graphical launcher ​

In AstrBot Launcher, click 可更新 (Update available) in the 版本 (Version) column and confirm the instance upgrade. To choose a specific version, stop the instance, open its 设置 (Settings), select a version, and save. After updating, verify that the instance is running the new version. AstrBot Launcher

Official install scripts, uv, and pip ​

Installations managed by the official install scripts, uv, or pip require a terminal upgrade. Stop the running AstrBot process before updating. Official install scripts

If you installed AstrBot with an official install script or uv, run this command in your terminal.

bash
uv tool upgrade astrbot --python 3.12

If you installed AstrBot with pip install astrbot, activate the Python environment used for the original installation and run the upgrade command.

bash
python -m pip install --upgrade astrbot

Run astrbot run from the original working directory after upgrading.

NOTE

We recommend installing AstrBot with uv.

Docker ​

To update a Docker deployment from the WebUI, click the new-version notification or choose Update from the menu in the upper right. Find the release you want to install and click Switch.

For greater stability, we recommend pulling the new image and recreating the container using the steps below.

Docker Compose ​

From the original Compose project directory, pull the image and recreate the AstrBot service. These commands use astrbot, the service name in the official Compose file.

bash
docker compose pull astrbot
docker compose up -d astrbot

Use the same Compose file and options as in the original deployment. For example, if you use compose-with-shipyard.yml, add -f compose-with-shipyard.yml after docker compose in both commands. If image is pinned to a version tag, change it to the target tag first.

docker run ​

NOTE

We recommend deploying AstrBot with Docker Compose.

Run docker inspect astrbot to check the current image, ports, environment variables, and mounts. Verify that /AstrBot/data is mounted to a directory on the host. Removing a container whose data is stored inside it will delete that data. Once you have verified the mount, pull the target image, then stop and remove the old container.

bash
docker pull soulter/astrbot:latest
docker stop astrbot
docker rm astrbot

Run your original docker run command with the new image and the same ports, environment variables, network, and data mount. The commands above use the default image and container name. Substitute the values from your deployment if it uses a registry mirror, a fixed tag, or a custom container name. Docker deployment example

Kubernetes ​

In k8s/astrbot/02-deployment.yaml, change the AstrBot container's image to the target version tag. Apply the updated Deployment and wait for it to roll out, keeping the existing PVC.

bash
kubectl apply -f k8s/astrbot/02-deployment.yaml
kubectl rollout status deployment/astrbot-standalone -n astrbot-standalone-ns

The commands use the Deployment and namespace names from the repository manifests. Kubernetes deployment

Source deployment ​

Stop AstrBot, then run git pull --ff-only in the original checkout to update its tracked branch. If you deploy from a release tag, run git fetch --tags and then git switch --detach <version-tag> to select the target version. Save and handle any local code changes before updating.

Sync dependencies from the updated source directory and start AstrBot as usual. For a source checkout managed by uv, run uv sync followed by uv run main.py. For a Python virtual environment, run python -m pip install -r requirements.txt in that environment, followed by python main.py. Source deployment

If you run AstrBot directly from release source code, you can also open ⋮ → Update AstrBot in the upper right of the browser WebUI and click Switch next to the target release. Wait for AstrBot to restart.

Update only the WebUI ​

Use Update Dashboard to Latest Version Only to refresh the dashboard's static files. The AstrBot backend keeps its current version. Updating the admin panel

Related resources ​

  • Read the release notes for your target version. AstrBot releases
Edit this page on GitHub

Last updated:

Pager
PreviousSource Deployment
NextOther Deployments

Deployed on Rainyun Logo