CLI

借助智能体交付代码

直接在终端中完成。

同样的命令,适用于任何环境

随时随地连接你的开发环境。
curl https://cursor.com/install -fsS | bash
Image
Sunlit woodland background
Interactive demo showing agent. The interface is displayed over a scenic painted landscape wallpaper, giving the demo an artistic backdrop.

始终访问最新模型

Anthropic、OpenAI、Gemini、Cursor 等前沿模型,尽在指尖。
Cursor 智能体
~/cursor/cursor-web
/model Auto
/model Composer 1.5
/model Opus 4.6
/model Codex 5.3 High Fast
/model Gemini 3 Pro
/model Grok

在你偏好的 IDE 中使用

无论你在哪里编写代码,Cursor CLI 都能融入你现有的工作流。
ImageImage
Cursor CLI in multiple IDEs

编写强大的脚本和自动化流程

自动更新文档、触发安全审查,或构建自定义编程智能体。
ImageImage

了解更多

开始使用 Cursor CLI

安装指南、智能体与 MCP 集成。

使用无头 CLI

在脚本和自动化工作流中使用 Cursor CLI。

Shell 模式

通过安全检查和输出展示,直接让智能体运行 shell 命令。

GitHub Actions

将 Cursor CLI 与 GitHub Actions 集成,用于自动化 CI/CD 工作流。

试试 Cursor CLI。

curl https://cursor.com/install -fsS | bash