# Debian Repository (read: Aptly)

**URL:** <https://forum.cursor.com/t/debian-repository-read-aptly/162814>\
**Category:** Feature Requests\
**Tags:** installation, linux\
**Created:** [June 9, 2026, 3:32pm UTC](https://forum.cursor.com/t/debian-repository-read-aptly/162814 "2026-06-09T15:32:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![markizano](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/markizano/32/64996_2.png) [@markizano](https://forum.cursor.com/u/markizano)\
**Post date:** [June 9, 2026, 3:32pm UTC](https://forum.cursor.com/t/debian-repository-read-aptly/162814/1 "2026-06-09T15:32:16Z")

</div>

### Feature request for product/service

Installer

### Describe the request

I see Debian/Ubuntu DEB files are available for download. This is a major upgrade from the “AppImage” only installs that were only previously available.

However, there’s no repo to install them.

If the cursor team needs a (former) sysadmin (now DevOps) guy to help them setup and maintain a pipeline to help with an `aptly` repo and make it possible to `apt-get install cursor.sh` from the terminal, I’d love to help get this setup!

Until then, I will start to maintain a clone of the repos using my own setup.

You can trust the key via:

```bash
sudo wget -O /etc/apt/trusted.gpg.d/markizano.net.asc https://apt.markizano.net/key.asc

```

You can add this to `/etc/apt/sources.list.d/cursor.list`:

```apt-sources
# For AMD64 systems
deb [arch=amd64] https://apt.markizano.net/ cursor main
# For ARM64 systems
deb [arch=arm64] https://apt.markizano.net/ cursor main

```

After that, it should be as easy as `apt-get update && apt-get install cursor` and from then on `apt-get upgrade` will upgrade to the latest verrsion.

I’ll setup a script to remind me daily to make sure this stays up to date.

Also, please don’t setup automation against this. It’s just a little tiny VPS hosted local to me in Dallas, TX and not built for scale. A few manual installs shouldn’t be too much tho.

I would really prefer to see the Cursor team support this and out of enthusiasm, I have set it up so it can be installed via my personal `aptly` installation. Also happy to send a PR to any automation the team has to enable this to be automatically available via something like `apt.cursor.sh` or something like that once new packages are submitted and ready to be published. I can also contribute to the docs to make sure folks can download the signing key, setup their `apt-get` config as such and get them off to the races!

I have a [blog](https://markizano.substack.com/p/personal-debian-repository) here too that helps tie this together to make it easy to roll your own if you want.

Thanks much for putting together an awesome product!

### Operating System (if it applies)

Linux

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [June 9, 2026, 6:05pm UTC](https://forum.cursor.com/t/debian-repository-read-aptly/162814/4 "2026-06-09T18:05:52Z")

</div>

Hey, thanks for the report and the enthusiasm, but good news: there’s already an official APT repo, so you don’t need to set anything up separately.

When you install the `.deb` from [Cursor · Download](https://cursor.com/downloads), the postinst script automatically adds the apt source and installs the GPG key. After that, updates come via `apt-get update && apt-get upgrade`.

If you want to set it up manually, like for Docker or CI, here’s the correct way:

```bash
sudo mkdir -p /etc/apt/keyrings

curl -fsSL https://downloads.cursor.com/keys/anysphere.asc \
  | gpg --dearmor \
  | sudo tee /etc/apt/keyrings/cursor.gpg > /dev/null

echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/cursor.gpg] https://downloads.cursor.com/aptrepo stable main' \
  | sudo tee /etc/apt/sources.list.d/cursor.list

```

Then run `sudo apt-get update && sudo apt-get install cursor`, and update via `apt-get upgrade`.

So you can safely shut down your clone repo. If you hit GPG or hash errors during `apt update` on some distro, this thread has common fixes like duplicate repo files or an old key in `trusted.gpg`: [Installing Cursor via APT .deb Package Breaks apt update](https://forum.cursor.com/t/installing-cursor-via-apt-deb-package-breaks-apt-update/132008). Let me know if anything doesn’t work.

---

<div class="post-metadata">

**Author:** ![markizano](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/markizano/32/64996_2.png) [@markizano](https://forum.cursor.com/u/markizano)\
**Post date:** [June 10, 2026, 12:19pm UTC](https://forum.cursor.com/t/debian-repository-read-aptly/162814/5 "2026-06-10T12:19:38Z")

</div>

That is fantastic news! I didn’t realize it came packed with the DEB file. Thanks much!

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/127254_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 12, 2026, 12:19pm UTC](https://forum.cursor.com/t/debian-repository-read-aptly/162814/6 "2026-06-12T12:19:46Z")

</div>

Closed on June 12, 2026, 12:19pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
