2023-01-22 16:17:26 +08:00
|
|
|
---
|
|
|
|
sidebar_position: 3
|
|
|
|
description: 通过脚手架或 pip 安装插件
|
|
|
|
---
|
|
|
|
|
|
|
|
import Asciinema from "@site/src/components/Asciinema";
|
|
|
|
|
|
|
|
# 安装第三方插件
|
|
|
|
|
|
|
|
## 查看
|
|
|
|
|
|
|
|
前往[商店](/store)即可查看所有发布的插件。
|
|
|
|
|
|
|
|
或者使用 nb-cli 命令行查看:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
nb plugin list
|
|
|
|
```
|
|
|
|
|
|
|
|
## 安装
|
|
|
|
|
|
|
|
前往[商店](/store)点击复制 nb-cli 安装命令至命令行执行即可安装。
|
|
|
|
|
|
|
|
或者自行输入命令安装:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
nb plugin install <plugin-package>
|
|
|
|
```
|
|
|
|
|
|
|
|
或者使用交互模式安装:
|
|
|
|
|
|
|
|
```bash
|
2023-02-21 00:43:54 +08:00
|
|
|
nb plugin
|
2023-01-22 16:17:26 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
也可以使用 pip 安装
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip install <plugin-package>
|
|
|
|
```
|
|
|
|
|
|
|
|
<Asciinema
|
|
|
|
url="https://asciinema.org/a/464735.cast"
|
|
|
|
options={{ theme: "monokai", poster: "npt:4.3" }}
|
|
|
|
/>
|