This is an interactive Bash installer script for installing Cursor AI as an AppImage on Linux systems.
It allows you to download, install dependencies, move the AppImage to a custom location, set up desktop integration, and more — all step-by-step.
- Selectively run installation steps through a simple menu
- Specify the full AppImage path (directory + filename) manually
- Download the AppImage from a URL or use a local file
- Install required packages (
libfuse2
, etc.) for running AppImages - Download and install a SVG icon for desktop integration
- Create a desktop launcher (.desktop file)
- Update the desktop database for app menus
- Create a symlink for easy CLI access (
cursor-ai
) - Uninstall all installed components cleanly
- Linux OS with
bash
- Sudo/root access for installation steps that modify system files
curl
andwget
installed (used for downloads)- Supported package manager (
apt
,dnf
, orpacman
) for installing dependencies
-
Run the installer script:
bash cursor-installer.sh
-
Choose the step you want to run from the menu.
-
For moving the AppImage, enter the full path including filename (e.g.,
/opt/cursor.appimage
). -
Follow prompts for URLs and paths as needed.
-
Once installed, launch Cursor AI via your app menu or from terminal using:
cursor-ai --no-sandbox
Run the uninstall option from the menu or execute:
bash cursor-installer.sh
and select the uninstall step to remove installed files and shortcuts.
- Ensure you have sufficient permissions (use sudo when required).
- Verify the URLs and paths you provide are correct and accessible.
- If desktop entries do not appear immediately, try logging out and back in or running
update-desktop-database
manually.
MIT License
Feel free to open issues or request features on the project repository.
Enjoy Cursor AI! 🚀