Status: Solved After some trial and error, and searching online, this is how I was able to install and set up Cursor in my Linux environment. The steps are:

  1. Download the AppImage from the Cursor AI website
  2. Make the AppImage executable
chmod +x cursor-*version*-amd64.AppImage
  1. Move the AppImage to the /opt directory
  2. On Ubuntu, you need to install some dependencies:
sudo apt-get install -y libfuse2

WARNINGIf you are on Ubuntu, and install fuse directly, your Ubuntu installation will (probably) not boot anymore. (And if you have FDE, as I do, and you didn’t back up your keys beforehand (as I procrastinated and learnt the hard way), you may find yourself having to completely erase the disk).

  1. Make a launching script (it gets stuck on some sort of sandboxing issue otherwise, and I added the script to be able to launch it with a single click from the applications menu, instead of having to open a terminal and adding the –no-sandbox flag):
#!/bin/bash
/opt/cursor.appimage --no-sandbox "$@"

I called it launch-cursor.sh Then to make it executable:

chmod +x /opt/cursor/launch-cursor.sh
  1. Make the desktop entry:
sudo nano /usr/share/applications/cursor.desktop

And add the following content:

[Desktop Entry]
Name=Cursor
Exec=/opt/cursor/launch-cursor.sh
Icon=/opt/cursor/cursor.png
Type=Application
  1. (Optional) Install the cursor icon: Get your cursor icon from the Cursor AI website and install it to /opt/cursor/cursor.png (you may or may not need escalated permissions to do this operation, but I did).
  2. And you’re done! You can now launch Cursor from your applications menu. (You can update it manually by downloading the latest AppImage from the Cursor AI website and repeating some of the steps above).

I also attempted to install Cursor via nix, distrobox (with Arch using Yay), but this is the way I got it to work.