繁體中文
使用瀏覽器流程或 API 金鑰來驗證 Cursor CLI
# 使用瀏覽器流程登入 cursor-agent login # 檢查認證狀態 cursor-agent status # 登出並清除已儲存的認證資訊 cursor-agent logout
export CURSOR_API_KEY=your_api_key_here cursor-agent "implement user authentication"
cursor-agent --api-key your_api_key_here "implement user authentication"
cursor-agent status
cursor-agent login
--insecure
--endpoint
這個頁面有幫助嗎?