# 安卓 SillyTavern 酒馆安装教程

> 通过 Termux 在安卓手机上部署 SillyTavern 酒馆，并接入 LLMoxy 网关使用 Claude 与 GPT。

### 安装 Termux

从 F-Droid 或 GitHub 下载并安装 Termux。

![安装Termux](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-01.png)

![Termux界面](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-02.png)

### 更新软件包

在 Termux 中更新软件包：

```bash
pkg update && pkg upgrade
```

![更新软件包](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-03.png)

![更新完成](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-04.png)

### 安装 Git

```bash
pkg install git
```

![安装Git](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-05.png)

### 克隆酒馆仓库

国外用户使用 GitHub：

```bash
git clone https://github.com/SillyTavern/SillyTavern -b release
```

亚太地区用户如果 GitHub 连接不稳定，使用 Gitee 镜像：

```bash
git clone https://gitee.com/mirrors/sillytavern.git -b release
```

![克隆酒馆](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-06.png)

### 进入目录并安装 Node.js

进入 SillyTavern 目录并安装 Node.js：

```bash
cd SillyTavern
```

```bash
pkg install nodejs
```

![进入目录](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-07.png)

![安装nodejs](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-08.png)

### 安装依赖

```bash
npm install
```

![npm install](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-09.png)

### 运行酒馆

如果已在 SillyTavern 文件夹下，直接运行启动脚本：

```bash
cd SillyTavern
./start.sh
```

![运行酒馆](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-10.png)

![酒馆启动](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-11.png)

> 如果无法跳转或乱码，请在浏览器中打开： `http://127.0.0.1:8000`

### 配置 API

在 SillyTavern 中配置 LLMoxy：

- 点击设置，聊天补全来源选择 **自定义（兼容 OpenAI 协议）**
- 自定义端点 URL: `https://llmoxy.com/v1`
- API 密钥: 填入您的令牌
- 模型名称: `grok-4.7`
- 点击"获取可用模型"验证配置

![配置步骤1](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-12.png)

![配置步骤2](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-13.png)

![配置步骤3](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-14.png)

![配置步骤4](https://llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-15.png)

> **⚠️ 注意**
> 检查配置时不要出现末尾空格！

本文是 https://llmoxy.com/docs/client-tutorials/android-sillytavern 的 markdown 版本。
