DEV Community

Marina Eremina
Marina Eremina

Posted on • Edited on

How to Install Cursor on Ubuntu (2025)

Cursor is an AI-powered editor that makes coding easier and faster. Installing it on Ubuntu is as simple as downloading a .deb file and running one command.

1. Go to official cursor download page. Download the latest .deb file (recommended for Ubuntu/Debian).

2. Open a terminal and navigate into the directory where you saved the .deb (e.g. Downloads):

cd Downloads
Enter fullscreen mode Exit fullscreen mode

3. Install Cursor.
Change cursor.deb to the actual filename, for example cursor_1.6.35_amd64.deb.

sudo apt install ./cursor.deb
Enter fullscreen mode Exit fullscreen mode

After installation you should see Cursor in your app launcher 🎉.

Update

APT Repository Added Automatically (and How to Verify & Update)

When you install Cursor on Ubuntu from the official .deb file, installer actually adds the official Cursor APT repository in the background. This allows apt to see Cursor updates just like any other package on ubuntu.

1. How to check if the repo was added

After installing Cursor, you can quickly check if the APT repository is registered:

sudo apt update | grep cursor
Enter fullscreen mode Exit fullscreen mode

If the repository was added, you’ll see a line like this:

Hit:10 https://downloads.cursor.com/aptrepo stable InRelease
Enter fullscreen mode Exit fullscreen mode

This confirms that apt recognizes Cursor repo and can fetch updates from it.

2. Updating Cursor

Once the repository is active, updating Cursor is easy:

sudo apt update
sudo apt install --only-upgrade cursor
Enter fullscreen mode Exit fullscreen mode

The first command refreshes your package list.
The second upgrades Cursor if a newer version is available.

Top comments (0)