From 887ed66768483c9723a981a0038b33bf8a38268a Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Sun, 11 May 2025 20:30:30 +0800 Subject: [PATCH] docs: uvx --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a36e1b0f..5a89ac76 100644 --- a/README.md +++ b/README.md @@ -78,14 +78,28 @@ AstrBot 是一个松耦合、异步、支持多消息平台部署、具有易用 #### 手动部署 -推荐使用 `uv`。 +> 推荐使用 `uv`。 + +首先,安装 uv: + +```bash +pip install uv +``` + +通过 Git Clone 安装 AstrBot: ```bash git clone https://github.com/AstrBotDevs/AstrBot && cd AstrBot -pip install uv uv run main.py ``` +或者,直接通过 uvx 安装 AstrBot: + +```bash +mkdir astrbot && cd astrbot +uvx astrbot +``` + 或者请参阅官方文档 [通过源码部署 AstrBot](https://astrbot.app/deploy/astrbot/cli.html) 。 #### Replit 部署