Run this command to install/update Cursor directly without cloning the repository:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/coinhole/cursor/ubuntu-22.04/manage_cursor.sh)"Note: For Ubuntu 24.04 installation, please switch to the
ubuntu-24.04branch or visit: Link
When you run the script, you'll see a user-friendly menu interface:
______ ___ ____ ________ ______
/ ____/_ ________________ _____ / | / _/ / _/ __ \/ ____/
/ / / / / / ___/ ___/ __ \/ ___/ / /| | / / / // / / / __/
/ /___/ /_/ / / (__ ) /_/ / / / ___ |_/ / _/ // /_/ / /___
\____/\__,_/_/ /____/\____/_/ /_/ |_/___/ /___/_____/_____/
For Ubuntu 22.04
-------------------------------------------------
/\_/\
( o.o )
> ^ <
------------------------
1. πΏ Install Cursor
2. π Update Cursor
3. ποΈ Uninstall Cursor
Note: If the menu reappears after choosing an option, check any error message above.
------------------------
Please choose an option (1, 2, or 3):
This is a guideline and script for installing or updating Cursor on Ubuntu 22.04.
- π One-line Installation: Install directly from GitHub without cloning
- π¦ Auto-download: Automatically fetches latest Cursor AppImage
- π Easy Update: Update to newest version with single command
- ποΈ Complete Uninstall: Remove Cursor and all related files
- π¨ Icon Selection: Choose your preferred application icon
- π₯οΈ Desktop Integration: Automatic menu entry creation
- π§ Ubuntu 22.04 or compatible Linux distribution
- π Internet connection
- π
sudoprivileges - π¦
curl(auto-installed if missing) - π¦
libfuse2(auto-installed if missing)
cursor-icon.pngβ Standard Cursor logo with blue background
cursor-black-icon.pngβ Cursor logo with dark background
- Ubuntu 22.04: The script automatically installs
libfuse2for AppImage support - Ubuntu 24.04+: Do NOT install
libfuse2manually - it can cause graphical issues - Restart recommended: For best experience, restart after installation
- Sudo required: Script needs admin privileges for system-wide installation
If you encounter any issues:
- Permission errors: Ensure you have
sudoprivileges and active internet connection - Script fails to download: Check your network connection and try again
- Cursor won't start: The script handles
libfuse2automatically, but you can verify with:sudo apt update && sudo apt install libfuse2 - Desktop entry missing: Log out and log back in, or restart your computer
Optimized Script Interface and Enhanced User Experience:
- One-line Installation: Direct installation via curl command
- Uninstall Option: Complete removal functionality in main menu
- Enhanced UI: Improved menu design with emojis and better alignment
- Smart Auto-download: Intelligent download with automatic fallback
- Simplified Desktop Integration: Clear guidance for icon refresh without automatic commands
Terminal Display Enhancement: Added figlet library for ASCII art banners and improved visual experience
Ubuntu Compatibility: Added version checking and automatic libfuse2 installation for Ubuntu 22.04
Auto-download System: Implemented automatic Cursor AppImage fetching with manual fallback option
Initial Release: Basic installation and update functionality with manual AppImage path