简体中文
使用浏览器流程或 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
此页面对您有帮助吗?