CLI

使用代理交付程式碼

直接在終端機中

相同指令,任何環境都適用

可在任何地方存取你的設定。
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 代理
~/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 都能整合到你現有的工作流程中。
Cursor CLI in multiple IDEs

撰寫強大的腳本與自動化流程

自動更新文件、觸發安全審查,或建置自訂程式代理。

進一步了解

開始使用 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