Come hang with us on Discord and chat directly with the team!Discordtop-bar-close-icon

2026-04-30

How to Install Cursor on Ubuntu and Keep It Updated with APT

tutorial
img

How to Install Cursor on Ubuntu

Cursor is an AI-powered code editor designed to help developers write, edit, and navigate code more efficiently. If you are using Ubuntu, the installation process is quick and straightforward. By downloading the official Debian package and installing it with apt, you can get Cursor running in just a few minutes.

This guide explains how to install Cursor on Ubuntu, verify that the official APT repository was added, and update the application later using standard package management commands.

Step 1: Download the Cursor .deb Package

Visit the official Cursor download page and get the latest Ubuntu/Debian installer. Make sure you choose the .deb package, as this is the recommended option for Ubuntu systems.

Once the file has finished downloading, note the folder where it was saved. In most cases, it will be in your Downloads directory.

Step 2: Open Terminal and Go to the Download Folder

Launch a terminal window and move into the directory that contains the downloaded Cursor package.

cd Downloads

If you saved the file somewhere else, replace Downloads with the correct path.

Step 3: Install Cursor on Ubuntu

Run the installation command using the actual name of the downloaded file. For example, if the package is named cursor_3.1.17_amd64.deb, use that filename in the command below.

sudo apt install ./cursor.deb

Replace cursor.deb with the exact package filename on your system. After the installation completes, Cursor should appear in your Ubuntu applications menu, ready to launch.

Cursor APT Repository Is Usually Added Automatically

One useful detail about installing Cursor from the official Debian package is that the installer often registers the official Cursor APT repository automatically. This means Ubuntu can detect future Cursor updates through apt, just like it does for many other installed packages.

This setup makes ongoing maintenance easier because you do not need to manually download a new .deb file every time a new version is released.

How to Verify the Cursor Repository on Ubuntu

To confirm that the Cursor repository has been added successfully, refresh your package lists and filter the output for Cursor-related entries.

sudo apt update | grep cursor

If the repository is active, you should see a result referencing the official Cursor APT source, such as https://downloads.cursor.com/aptrepo. That output indicates Ubuntu recognizes the repository and can retrieve updates for the editor.

How to Update Cursor Using APT

After the repository is available, updating Cursor on Ubuntu becomes very simple. First, refresh your local package index, then install available upgrades for the Cursor package only.

sudo apt update

sudo apt install --only-upgrade cursor

The first command checks for the latest package information from all configured repositories. The second command upgrades Cursor if a newer version is available, without reinstalling unrelated software.

Why This Installation Method Is Recommended

Installing Cursor with the official .deb package is the best option for most Ubuntu users because it offers several advantages:

  • Fast and simple installation
  • Native integration with Ubuntu package management
  • Automatic access to future Cursor updates through APT
  • No need to manually reinstall the editor for each release

Troubleshooting Tips

If Cursor does not appear in your app launcher immediately after installation, log out and back in, or restart your system session. Also verify that the package installed correctly by checking for any terminal errors during the apt install step.

If the repository check does not show any Cursor-related result, you may need to reinstall the official package from the Cursor website to ensure the repository configuration is added properly.

Conclusion

Installing Cursor on Ubuntu is a quick process: download the official .deb file, install it with apt, and launch the editor from your applications menu. Even better, the installer typically adds the official Cursor APT repository automatically, making future updates easy and reliable. For developers looking for a modern AI code editor on Ubuntu, this is the most convenient way to get started and stay up to date.