Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Install the Cursor AI Code Editor on Ubuntu

Download the AppImage, make it executable, add a menu entry and start Cursor.

VPS and Cloud Servers2 min read8 steps10 screenshots

What Cursor is

Cursor is a code editor built on the base of Visual Studio Code, with AI features such as code suggestions, chat and edits by prompt.

Requirements

  1. At least 4 GB of RAM and 2 GB of free disk space. More RAM helps with large projects.
  2. An Ubuntu desktop (not a server without a screen).
  3. A stable internet connection, because the AI features use online services.

Step 1: Download the AppImage

Open the Cursor website and download the Linux (x64) AppImage.

Downloading Cursor for Linux

Step 2: Make it executable

Go to the folder of the download and set the execute bit (use the real file name of your download):

cd ~/Downloads
chmod a+x Cursor-*.AppImage
Making the AppImage executable

AppImages may need the FUSE library. On Ubuntu 22.04 and later install it with:

sudo apt install libfuse2

Step 3: Add a menu entry

Move the file to a fixed place:

sudo mv Cursor-*.AppImage /opt/cursor.AppImage
Moving the AppImage to /opt

Create a desktop file:

sudo nano /usr/share/applications/cursor.desktop

Add:

[Desktop Entry]
Name=Cursor
Comment=AI Code Editor
Exec=/opt/cursor.AppImage --no-sandbox
Icon=code
Terminal=false
Type=Application
Categories=Development;

Update the desktop database:

sudo update-desktop-database
Updating the desktop database

Step 4: Start and set up Cursor

Start it from the applications menu, or from a terminal:

/opt/cursor.AppImage --no-sandbox
Launching Cursor

The --no-sandbox flag is needed on some Ubuntu versions where the sandbox of the AppImage is blocked. Use it only if Cursor does not start without it.

On the first start:

  1. Choose a theme.
    Choosing a theme
  2. Follow the quick-start screen. You can import your VS Code settings.
    The quick-start screen
  3. Choose your data sharing option (privacy mode).
    The data sharing page
  4. Review the settings and sign in to your Cursor account.
    Reviewing the settings
  5. Cursor is ready to use.
    Cursor is ready

Quick recap

  • Download the AppImage, chmod a+x, move it to /opt.
  • Add a .desktop file for the menu.
  • Install libfuse2 if the AppImage does not start.