From 09a511acf893dfaa8acb51e8fefbca0f99c4d17b Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Tue, 10 Nov 2020 14:44:24 +0800 Subject: [PATCH] :memo: add poetry install --- docs/guide/installation.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 4f6e68e1..9d640dc2 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -13,7 +13,16 @@ pip uninstall nonebot pip install nonebot2 ``` -如果你需要使用最新的(可能尚未发布的)特性,可以克隆 Git 仓库后手动安装: +如果你需要使用最新的(可能尚未发布的)特性,可以直接从GitHub仓库安装: + +```bash +# master +poetry add git+https://github.com/nonebot/nonebot2.git#master +# dev +poetry add git+https://github.com/nonebot/nonebot2.git#dev +``` + +或者克隆 Git 仓库后手动安装: ```bash git clone https://github.com/nonebot/nonebot2.git