Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Commit a212e6b

Browse files
committed
docs: update AstrBot CLI instructions to include --no-sync parameter for plugin management
1 parent d63f1e8 commit a212e6b

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

en/deploy/astrbot/cli.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,15 @@ Alternatively, download the source code directly from GitHub and extract it:
2929
3030
2. Execute in terminal (in the AstrBot directory)
3131
```bash
32+
uv sync
3233
uv run main.py
3334
```
35+
36+
If you have installed some plugins, it is recommended to add the `--no-sync` parameter for subsequent startups to avoid reinstalling plugin dependencies. We are working on solving this issue, so stay tuned.
37+
38+
```bash
39+
uv run --no-sync main.py
40+
```
3441
:::
3542

3643
::: details Install Dependencies with Python Built-in venv

zh/deploy/astrbot/cli.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,15 @@ cd AstrBot
2929
3030
2. 在终端执行(AstrBot 目录下)
3131
```bash
32+
uv sync
3233
uv run main.py
3334
```
35+
36+
如果您安装了一些插件,建议后续启动附上 `--no-sync` 参数,以避免插件依赖库被重复安装。我们正在努力解决这个问题,敬请期待。
37+
38+
```bash
39+
uv run --no-sync main.py
40+
```
3441
:::
3542

3643
::: details Python 内置 venv 安装依赖

0 commit comments

Comments
 (0)