A bash script for installing and managing Cursor on Debian/Ubuntu-based Linux distributions.
Run the setup script to install and configure Cursor:
curl -sSL https://raw.githubusercontent.com/mablr/cursor-installer/master/setup.sh | bash -s -- -a
Or clone the repository and run the setup script:
git clone https://github.com/mablr/cursor-installer
cd cursor-installer
chmod +x setup.sh
./setup.sh -a
- Automated Installation: Downloads the latest Cursor AppImage from official sources
- System Integration:
- Creates desktop launcher for easy access
- Adds
cursor
command to system PATH
- Management Tools:
- Status checking to verify installation integrity
- Clean uninstallation option
- Update Handling: Seamless integration with Cursor's built-in auto-update system
- Broad Compatibility: Works across Debian/Ubuntu-based distributions
- Direct API Integration: Reliable downloads from Cursor's official API
- ℹ️ AppImageLauncher Conflict: This installer is not compatible with AppImageLauncher. If you have AppImageLauncher installed, it may interfere with the proper functioning of Cursor. It is recommended to remove AppImageLauncher before using this installer.
$ ./setup.sh --help
Usage: ./setup.sh [OPTIONS]
Options:
-a, --all All-in-one Cursor installation (Recommended)
-f, --fetch Only fetch latest Cursor AppImage
-c, --configure Configure desktop launcher and CLI
-s, --status Check Cursor installation status
-r, --remove Uninstall Cursor (remove icon, desktop launcher, and CLI command)
-p, --remove-purge Uninstall Cursor and purge all AppImages
-h, --help Show help message
-q, --quiet Show only errors and warnings
This project is based on work by Jorcelino Junior, adapted under MIT license.
MIT (c) Mablr