跳轉到主要內容
1

安裝 Cursor Agent CLI

curl https://cursor.com/install -fsS | bash
使用 cursor-agent --version 驗證安裝。更多詳情請參閱 官方安裝指南
2

按照登入說明操作

使用 cursor-agent login 登入(開啟瀏覽器)。您也可以設定 CURSOR_API_KEY 環境變數。完整說明:https://docs.cursor.com/en/cli/reference/authentication