Cursor Setup on Latest Ubuntu Version
Prerequisites
- Ubuntu 24.04 LTS or later
- Active internet connection
- Sudo privileges
Installation
Method 1: Installation via AppImage (Recommended)
- Download the latest version of Cursor from the official website:
- Make the file executable:
- Move the AppImage to an appropriate directory:
- Create a desktop shortcut:
cat > ~/.local/share/applications/cursor.desktop << EOF
[Desktop Entry]
Name=Cursor
Exec=/opt/cursor/cursor.AppImage --no-sandbox
Icon=cursor
Type=Application
Categories=Development;IDE;
Comment=AI-powered code editor
EOF
Method 2: Installation via .deb Package
- Download the .deb package:
- Install the package:
Initial Configuration
First Launch
- Launch Cursor from the applications menu or via command:
-
Sign in with your Cursor account or create a new one
-
Accept necessary permissions
Recommended Configuration
Basic Settings
Access settings via Ctrl + ,
or File > Preferences > Settings
- Theme: Choose your preferred theme (Dark+, Light+, etc.)
- Font Size: Adjust to your preference (recommended: 14-16)
- Auto Save: Enable
afterDelay
for automatic saving
AI Configuration
- Configure your API key (if needed) in settings
- Enable real-time code suggestions
- Configure preferred AI models (GPT-4, Claude, etc.)
Recommended Extensions
Install useful extensions from the marketplace:
- GitLens
- Prettier
- ESLint
- Python
- Docker
- Live Server
Git Integration
Configure Git if not already done:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
Ubuntu Optimizations
Disable Apport (to avoid crash reports)
Increase File Watchers (for large projects)
Configure Permissions for Wayland (if applicable)
sudo nano ~/.local/share/applications/cursor.desktop
# Add --enable-features=UseOzonePlatform --ozone-platform=wayland
Essential Keyboard Shortcuts
Ctrl + Shift + P
: Command paletteCtrl + K
: Open AI chatCtrl + L
: Select code and chat with AICtrl + /
: Comment/uncommentCtrl + P
: Quick file searchCtrl + Shift + F
: Global project searchCtrl +
`: Open integrated terminal
Troubleshooting
Issue: Cursor won't launch
Issue: Permission errors
Issue: Theme or graphics rendering incorrect under Wayland
Add these flags at launch:
Updates
Cursor typically updates automatically. To force a manual update, download the latest version from the official website and repeat the installation steps.
Uninstallation
If installed via AppImage:
If installed via .deb:
Resources
- Official website: https://cursor.sh
- Documentation: https://docs.cursor.sh
- Support: https://forum.cursor.sh