mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-29 20:05:25 +08:00
* 重构文档结构:移除 docs 目录,调整文件组织结构 * Reorder "插件 SDK API" section in docs.json * Refactor and clarify various documentation sections * Refine warnings and info boxes across multiple docs * Refactor and simplify Japanese documentation content * Update package.json to include mintlify as a dependency and add pnpm-lock.yaml for dependency management * Update blog link and add description in docs.json --------- Co-authored-by: Junyan Chin <[email protected]>
38 lines
993 B
Plaintext
38 lines
993 B
Plaintext
---
|
|
title: "Update LangBot"
|
|
---
|
|
|
|
## Using Package Manager
|
|
|
|
Please execute in the directory you deployed LangBot again:
|
|
|
|
```bash
|
|
uvx langbot@latest
|
|
```
|
|
|
|
This command will download and start the latest version of LangBot.
|
|
|
|
## Using Docker (or one-click deployment based on Docker)
|
|
|
|
Please execute in the directory you cloned LangBot:
|
|
|
|
```bash
|
|
git pull
|
|
```
|
|
|
|
Please execute in the `docker/` directory:
|
|
|
|
```bash
|
|
docker compose up --force-recreate --pull always -d
|
|
```
|
|
|
|
This command will pull the latest LangBot image and rebuild the container.
|
|
|
|
<Info>
|
|
4.3.0 version changed the content and location of the `docker-compose.yaml` file, if you updated from a previous version, please [redploy according to the documentation](/en/deploy/langbot/docker).
|
|
</Info>
|
|
|
|
## Manual Deployment
|
|
|
|
Download the latest release's `langbot-<version>-all.zip` from the Assets section on the [Releases](https://github.com/langbot-app/LangBot/releases) page, extract it to the original deployment directory, and restart.
|