A simple installer script for Cursor AI IDE on Linux systems. Downloads and installs the latest version of Cursor with desktop integration.
This script was born out of the need to simplify the installation process of Cursor AI IDE on Linux systems. While Cursor is an excellent code editor, the company's official installation process for Linux is not straightforward and lacks proper desktop integration. This script aims to bridge that gap by providing a seamless installation experience with full desktop integration, automatic updates, and proper shell integration.
- One-command installation
- Desktop menu integration
- Direct AppImage execution
- Clean and simple installation process
- User-friendly feedback
- No additional tools required
- Optional management tool
Install Cursor AI IDE with a single command:
curl -fsSL https://raw.githubusercontent.com/flavio-ever/cursor-ai-linux-installer/main/installer.sh | sudo bashYou can also use specific commands:
# Install Cursor
curl -fsSL https://raw.githubusercontent.com/flavio-ever/cursor-ai-linux-installer/main/installer.sh | sudo bash -s -- --install
# Update Cursor
curl -fsSL https://raw.githubusercontent.com/flavio-ever/cursor-ai-linux-installer/main/installer.sh | sudo bash -s -- --update
# Uninstall Cursor
curl -fsSL https://raw.githubusercontent.com/flavio-ever/cursor-ai-linux-installer/main/installer.sh | sudo bash -s -- --uninstall
# Check version
curl -fsSL https://raw.githubusercontent.com/flavio-ever/cursor-ai-linux-installer/main/installer.sh | sudo bash -s -- --version
# Show help
curl -fsSL https://raw.githubusercontent.com/flavio-ever/cursor-ai-linux-installer/main/installer.sh | sudo bash -s -- --helpIf you prefer a more user-friendly way to manage Cursor, you can install the Cursor Manager:
curl -fsSL https://raw.githubusercontent.com/flavio-ever/cursor-ai-linux-installer/main/cursor-manager.sh | bashAfter installation, you can use these commands:
# Install Cursor
cursor-manager install
# Update Cursor
cursor-manager update
# Check version
cursor-manager version
# Uninstall Cursor
cursor-manager uninstall
# Remove the manager
cursor-manager remove-managerThe installer will:
- Check and install required dependencies
- Create necessary directories
- Download the latest Cursor AppImage
- Make it executable
- Create desktop menu entry
- Add shell integration
- Set up automatic updates
After installation, you can:
- Open Cursor from your applications menu
- Use the
cursorcommand in your terminal - Run directly:
/opt/cursor/cursor.AppImage
The Cursor AI IDE will be installed to:
/opt/cursor/cursor.AppImage
And the desktop entry will be created at:
/usr/share/applications/cursor.desktop
If you use the Cursor Manager, it will be installed at:
~/.local/bin/cursor-manager
- Linux system
- curl
- Internet connection
- sudo privileges
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
MIT License - see LICENSE file for details.
Found an issue? Please:
- Check existing issues
- Create a new issue with:
- OS and version
- Error message or unexpected behavior
- Initial release
- Installation and update support
- Shell integration
- Desktop menu integration
- Add shell detection for bash, zsh and fish support
- Add proper dependency checking similar to installer.sh
- Improve PATH handling for different shell configurations
- Simplified installation process
- Removed redundant install.sh script
- Improved manager installation
- Fix download