用途:安装 Cursor IDE 并按组织认可的身份流程完成认证,在打开敏感代码仓库前建立隐私设置。资料提示不要把本地配置或设置文件当作密钥存储。
安装:macOS 可直接从 https://cursor.com/download 下载,或用 brew install --cask cursor;安装后把 Cursor.app 拖入 Applications,首次启动可能需在系统设置 > 隐私与安全性中允许。Linux 可下载 AppImage:curl -fSL https://download.cursor.com/linux/appImage/x64 -o cursor.AppImage,chmod +x cursor.AppImage,再 ./cursor.AppImage;或用 .deb:curl -fSL https://download.cursor.com/linux/deb/x64 -o cursor.deb,sudo dpkg -i cursor.deb。可在 ~/.bashrc 或 ~/.zshrc 添加 alias cursor='/path/to/cursor.AppImage'。Windows 从 cursor.com/download 下载 .exe 安装,默认按用户安装、无需管理员权限。
认证:首次启动点击 Sign In,可选 GitHub、Google 或邮箱密码,浏览器完成 OAuth 后自动返回。登录后计划自动激活:Free、Pro、Business、Enterprise,具体价格与额度见资料所列,升级地址 cursor.com/settings。
迁移与配置:首次启动可一键导入 VS Code 的设置、快捷键、主题、代码片段,并从 Open VSX 重装兼容扩展;微软专属扩展与扩展登录状态不迁移。可手动用 Cmd+Shift+P > Extensions: Install from VSIX 安装。设置文件路径为 macOS ~/Library/Application Support/Cursor/User/settings.json、Linux ~/.config/Cursor/User/settings.json、Windows %APPDATA%\Cursor\User\settings.json。
限制:资料未提供离线认证方式,认证仍需联网;企业域验证、MDM/SCCM 部署、SSO 强制执行等仅作为注意事项提及,具体步骤暂未提供。