CLI

使用 Agent 交付程式碼

直接從您的終端機操作。

相同指令,任何環境。

隨處整合至您的開發環境。
curl https://cursor.com/install -fsS | bash
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 Agent
~/cursor/cursor-web
/model Auto
/model Composer 1
/model Opus 4.6
/model GPT-5.2 Codex High Fast
/model Gemini 3 Pro
/model Grok

在您偏好的 IDE 中使用

無論您在何處編寫程式碼,Cursor CLI 都能整合到您現有的工作流程中。
Cursor CLI in multiple IDEs

編寫強大的腳本和自動化程式

自動更新文件、觸發安全審查或建立自訂編碼代理。

了解更多

開始使用 Cursor CLI

安裝指南、代理和 MCP 整合。

使用 Headless CLI

在腳本和自動化工作流程中使用 Cursor CLI。

Shell 模式

從代理直接執行 shell 指令,並具備安全檢查和輸出顯示功能。

GitHub Actions

將 Cursor CLI 與 GitHub Actions 整合,實現自動化 CI/CD 工作流程。

試用 Cursor CLI。

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