From 2945a9b975b0abfe19c2f801e2a9db591ea063e0 Mon Sep 17 00:00:00 2001 From: worldmozara Date: Sat, 24 Jan 2026 15:48:16 +0000 Subject: [PATCH 1/3] :memo: add usage for `uv tool` / `uvx` --- README.md | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6f19d3f9..eae905df 100644 --- a/README.md +++ b/README.md @@ -68,13 +68,21 @@ _✨ NoneBot2 命令行工具 ✨_ ### 安装 -使用 pipx 安装 +#### 使用 pipx 安装 ```shell pipx install nb-cli ``` -使用 Docker 运行 +#### 使用 uv 安装 + +```shell +uv tool install nb-cli@latest +``` + +其中 `latest` 可以更改为指定的 CLI 版本 + +#### 使用 Docker 安装 ```shell docker pull nonebot/nb-cli:latest @@ -106,7 +114,15 @@ nb --help - `nb self` 管理 CLI 内部环境 - `nb