Skip to content

Instantly share code, notes, and snippets.

@nurmdrafi
Created April 9, 2025 14:59
Show Gist options
  • Save nurmdrafi/b08acc3df6bf0887ff9a9525189917de to your computer and use it in GitHub Desktop.
Save nurmdrafi/b08acc3df6bf0887ff9a9525189917de to your computer and use it in GitHub Desktop.
Install Cursor AI editor on Ubuntu 24.04

Install Cursor AI editor on Ubuntu 24.04

  1. Use the Download button on www.cursor.com web site. It will download the NAME.AppImage file.

  2. Move the File:

sudo mv ~/Downloads/NAME.AppImage /opt/cursor.appimage
  1. Install Dependencies (if required):
sudo apt update
sudo apt install libfuse2
  1. Make it an executable
sudo chmod +x /opt/cursor.appimage
  1. Create a Desktop Shortcut:
sudo nano /usr/share/applications/cursor.desktop
  • Make sure a logo/image available there /opt/cursor.png (If needed)
[Desktop Entry]
Name=Cursor
Exec=/opt/cursor.appimage --no-sandbox
Icon=/opt/cursor.png
Type=Application
Categories=Development;
  1. Run Cursor AI:
/opt/cursor.appimage --no-sandbox
  1. Optional - Add a Command Alias:
  • Add an alias to your .bashrc or .zshrc file for easier command-line access:
alias cursor='~/Applications/your-app.appimage --no-sandbox'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment