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 2
/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