> ## Documentation Index
> Fetch the complete documentation index at: https://villagesql.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 快速开始

> 使用安装脚本或您的编码智能体安装 VillageSQL Server。

## 使用安装脚本安装

```bash theme={null}
curl -fsSL https://install.villagesql.com | bash
```

脚本会询问安装哪个代码库（MySQL 8.4、Percona Server 8.4 或 MySQL 9.7）以及用哪种方式安装：预编译下载、Docker 或源码构建。预编译安装会放在 `~/.villagesql/` 下，并在端口 3306 上启动服务器。

要连接服务器并加载您的第一个扩展，请参阅[安装](https://villagesql.com/docs/zh/8.4/stable/install-server.md#step-2-connect-to-the-server)。

## 使用您的编码智能体安装

> [!TIP]
>
> **让您的编码智能体安装 VillageSQL。** 将以下内容粘贴到编码智能体的聊天中：
>
> ```text wrap theme={null}
> Set me up for VillageSQL. Fetch https://villagesql.com/llms.txt and follow its setup steps.
> ```
>
> 智能体会安装 VillageSQL 智能体技能，安装一个服务器，并加载一个扩展来证明服务器可以正常工作。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.