mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-04 02:52:55 +08:00
- Introduced a new documentation site for Cursor BYOK using Next.js and Fumadocs. - Added a product demo page with a corresponding Vite configuration. - Implemented a demo API to simulate LLM calls and responses. - Enhanced the Makefile to include new build and development commands for the documentation. - Updated package.json scripts for building and running the documentation site. - Created various components and layouts for the documentation structure, including blog and user documentation sections. - Added styling for the new components and layouts to ensure a cohesive design. - Included a README and other necessary files for local development and deployment.
69 lines
1.7 KiB
Plaintext
69 lines
1.7 KiB
Plaintext
---
|
|
title: 安装指南
|
|
description: 下载 cursor-byok,完成本地初始化并验证运行状态。
|
|
icon: Download
|
|
---
|
|
|
|
## 下载应用
|
|
|
|
前往 [最新版本页面](https://github.com/leookun/cursor-byok/releases/latest),下载适用于 macOS、Windows 或 Linux 的安装包。
|
|
|
|
<Callout type="info">
|
|
优先使用最新正式版本。发行页面会列出该版本包含的安装包和更新说明。
|
|
</Callout>
|
|
|
|
## 首次启动
|
|
|
|
<Steps>
|
|
|
|
<Step>
|
|
|
|
### 打开 Cursor 配置
|
|
|
|
启动应用后进入 **Cursor 配置**。如果本地 CA 尚未初始化,页面会显示初始化入口。
|
|
|
|
</Step>
|
|
|
|
<Step>
|
|
|
|
### 初始化本地 CA
|
|
|
|
点击 **初始化 CA**。本地 CA 用于在你的设备上解析 Cursor 发出的 HTTPS 请求,其文件只保存在本机。
|
|
|
|
系统要求授权时,按照应用显示的说明在终端中完成信任操作,然后返回应用点击 **我已初始化,刷新**。
|
|
|
|
</Step>
|
|
|
|
<Step>
|
|
|
|
### 添加第一个模型
|
|
|
|
点击 **添加模型**,选择 OpenAI 或 Anthropic 类型,填写上游服务参数并保存。详细字段说明见[模型配置](./model-configuration.mdx)。
|
|
|
|
</Step>
|
|
|
|
<Step>
|
|
|
|
### 运行连通性测试
|
|
|
|
点击模型的 **测试**。测试成功后,该模型即可出现在 Cursor 的模型列表中。
|
|
|
|
</Step>
|
|
|
|
</Steps>
|
|
|
|
## 验证安装
|
|
|
|
完成配置后,请确认:
|
|
|
|
- Cursor 配置页面不再显示 CA 初始化提示。
|
|
- 至少一个模型的连通性测试成功。
|
|
- cursor-byok 保持运行。
|
|
- Cursor 模型列表中能看到配置的显示名称。
|
|
|
|
如果其中任何一步失败,请前往[故障排查](./troubleshooting.mdx)。
|
|
|
|
## 更新
|
|
|
|
在应用设置中检查新版本,或直接访问 [GitHub Releases](https://github.com/leookun/cursor-byok/releases/latest)。更新前无需删除现有模型配置。
|