Cursor是一款基于AI的代码编辑器,支持多种操作系统。以下是详细的安装步骤:
对于Ubuntu/Debian系统:
# 下载.deb包
wget https://download.cursor.sh/linux/cursor_latest_amd64.deb
# 安装
sudo dpkg -i cursor_latest_amd64.deb
# 如果缺少依赖,运行
sudo apt-get install -f
对于其他Linux发行版,可以下载AppImage版本:
# 下载AppImage
wget https://download.cursor.sh/linux/cursor_latest_amd64.AppImage
# 添加执行权限
chmod +x cursor_latest_amd64.AppImage
# 运行
./cursor_latest_amd64.AppImage
Q: 安装后无法启动怎么办?
A: 检查系统是否满足最低要求,尝试以管理员权限运行,或查看错误日志。
Q: 如何卸载Cursor?
A: Windows用户可以通过控制面板卸载,macOS用户直接删除Applications中的Cursor,Linux用户使用包管理器卸载。
安装完成后,建议查看以下内容: