📝 add tips for separated adapters in 2.0.0a11 docs

This commit is contained in:
StarHeartHunt
2021-03-14 08:49:22 +08:00
parent 36d0628e4f
commit b31317720b
4 changed files with 31 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# 安装
## NoneBot
## 安装 NoneBot
:::warning 注意
请确保你的 Python 版本 >= 3.7。
@ -67,6 +67,18 @@ poetry install --no-dev # 推荐
pip install . # 不推荐
```
## 安装适配器
适配器可以通过 `nb-cli` 在创建项目时根据你的选择自动安装,也可以自行使用 `pip` 安装
```bash
pip install nonebot-adapter-<adapter-name>
```
```bash
# 列出所有的适配器
nb adapter list
```
## 安装插件
插件可以通过 `nb-cli` 进行安装,也可以自行安装并加载插件。