https://downloader.cursor.sh/linux/appImage/x64/
chmod +x /path/to/cursor.appimage
mv /path/to/cursor.appimage /usr/bin/cursor
I Keep my .desktop file in ~/.local/share/applications
Let create a cursor.desktop
in ~/.local/share/applications
touch ~/.local/share/applications/cursor.desktop
copy paste the below in to the file
[Desktop Entry]
GenericName=Text Editor
Exec=/usr/bin/cursor %F
Icon=~/.local/share/cursor.svg
Type=Application
Name=Cursor
StartupNotify=false
StartupWMClass=Cursor
MimeType=application/x-code-workspace;text/plain;inode/directory;
Actions=new-empty-window;
Keywords=cursor;
Categories=Utility;TextEditor;Development;IDE;
Version=1.0
Comment=Cursor - AI-first code editor
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/usr/bin/cursor --new-window %F
Icon=~/.local/share/cursor.svg
You can download the icon from https://mintlify.s3-us-west-1.amazonaws.com/cursor/images/logo/app-logo.svg/
move the icon into /.local/share/cursor.svg
and it should work with no other change required.