Repository navigation
en deploy update
Follow the recommended upgrade steps for your installation method.
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
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
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.
uv tool upgrade astrbot --python 3.12If you installed AstrBot with pip install astrbot, activate the Python environment used for the original installation and run the upgrade command.
python -m pip install --upgrade astrbotRun astrbot run from the original working directory after upgrading.
Note
We recommend installing AstrBot with uv.
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.
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.
docker compose pull astrbot
docker compose up -d astrbotUse 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.
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.
docker pull soulter/astrbot:latest
docker stop astrbot
docker rm astrbotRun 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
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.
kubectl apply -f k8s/astrbot/02-deployment.yaml
kubectl rollout status deployment/astrbot-standalone -n astrbot-standalone-nsThe commands use the Deployment and namespace names from the repository manifests. Kubernetes 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.
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
- Read the release notes for your target version. AstrBot releases
- 首页
- 文档入口
- Top Level
- community events
- config
- deploy
- dev
- others
- platform
- 接入 OneBot v11 协议实现
- 接入钉钉 DingTalk
- 接入 Discord
- 接入 Kook
- 接入飞书
- 接入 LINE
- 接入 Matrix
- 接入 Mattermost
- 接入 Misskey 平台
- 接入 QQ 官方机器人平台
- 通过 QQ官方机器人 接入 QQ (Webhook)
- 通过 QQ官方机器人 接入 QQ (Websockets)
- 接入 Satori 协议
- 接入 server-satori (基于 Koishi)
- 接入 Slack
- 接入消息平台
- 接入 Telegram
- 接入 VoceChat
- AstrBot 接入企业微信
- 接入企业微信智能机器人平台
- AstrBot 接入微信公众平台
- 接入个人微信
- providers
- use
- Home
- Docs Entry
- Top Level
- config
- deploy
- Deploy AstrBot on 1Panel
- Deploy AstrBot on BT Panel
- Deploy AstrBot on CasaOS
- Deploy AstrBot from Source Code
- Community-Provided Deployment Methods
- Deploy via Compshare
- Deploy with AstrBot Desktop Client
- Deploy AstrBot with Docker
- Deploy AstrBot with Kubernetes
- Deploy AstrBot with AstrBot Launcher
- Other Deployments
- Script Deployment
- Installation via System Package Manager
- Update AstrBot
- Preface
- dev
- AstrBot Configuration File
- API Scope–Endpoint Reference
- AstrBot HTTP API
- AstrBot Plugin Market JSON Specification
- AstrBot Plugin Market JSON Specification
- Developing a Platform Adapter
- plugin
- AI
- Agents
- Sessions and Conversations
- Models
- Other APIs
- Tools
- Documentation moved
- Text to Image
- Handling Message Events
- Plugin Configuration
- Plugin Internationalization
- Documentation moved
- Shared Bridge API
- Interactive message component
- Standalone plugin page
- Backend Web APIs
- Workbench page
- Sending Messages
- Session Control
- Minimal Example
- Plugin Storage
- AstrBot Plugin Development Guide 🌠
- Publishing Plugins to the Plugin Marketplace
- ospp
- others
- platform
- Connect OneBot v11 Protocol Implementations
- Connect to DingTalk
- Connecting to Discord
- Connect to KOOK
- Connecting to Lark
- Connecting to LINE
- Connecting to Matrix
- Connecting to Mattermost
- Connecting to Misskey Platform
- Connect QQ Official Bot
- Connect QQ via QQ Official Bot (Webhook)
- Connect QQ via QQ Official Bot (Websockets)
- Connect to Satori Protocol
- Connect server-satori (Koishi)
- Connecting to Slack
- Messaging Platforms
- Connecting to Telegram
- Connect to VoceChat
- Connect AstrBot to WeCom
- Connect to WeCom AI Bot Platform
- Connect AstrBot to WeChat Official Account Platform
- Connect Personal WeChat
- providers
- Connect 302.AI
- Agent Runners
- Built-in Agent Runner
- Connect to Coze
- Connect to Alibaba Cloud Bailian Application
- Connect to DeerFlow
- Connect to Dify
- Connect AIHubMix
- coze
- dashscope
- DeepSeek STT Integration
- DeepSeek TTS Integration
- dify
- Model input images
- Large Language Model Providers
- Connect MiraRouter
- NewAPI
- Connect PPIO Cloud
- Connect LM Studio to Use DeepSeek-R1 and Other Models
- Integrating Ollama
- Connect ShengSuanYun
- Connecting to SiliconFlow
- Connecting Model Services
- Connecting to TokenPony
- use
- Agent Execution Mode {#agent-runner}
- Agent Sandbox Environment
- astrbot sandbox
- AstrBot CLI {#cli-commands}
- Docker-based Code Interpreter
- Built-in Commands
- computer
- Context Compression
- Session Configuration Mappings (formerly Custom Rules)
- AstrBot Knowledge Base
- MCP
- AstrBot Plugins {#astrbot-star}
- Proactive Capabilities
- Skills {#anthropic-skills}
- Subagents {#agent-handsoff-and-subagent}
- Unified Webhook Mode
- Web Search
- DeepSeek Search API
- SerpApi
- WebUI