cd /news/developer-tools/cursor-ide-download-for-linux-12-ste… · home › topics › developer-tools › article
[ARTICLE · art-178972] src=shattered.io ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Cursor IDE Download for Linux: 12 Steps, 55 Min

Cursor's official download page lists Linux builds as .deb, RPM and AppImage packages for x64 and ARM64, with version 3.32 named as the latest desktop release, but a working install on Ubuntu or Debian requires handling three Linux-specific failures in sequence: a missing FUSE library, an AppArmor-caused browser-sandbox crash, and a sign-in that never returns to the app. The guide builds `cursor-linux-doctor.sh`, a roughly 190-line Bash tool that checks distro, architecture, FUSE, AppArmor, keyring and URL handler, installs the AppImage with a desktop entry and `cursor` launcher, and prints an AppArmor profile when Ubuntu blocks the sandbox. Cursor's own security notice named malicious `Anthropic.claude-code` versions 2.1.312 and 2.1.313 in its extension marketplace, and the 2025 Stack Overflow developer survey press release reports 64% of developers named AI code that is almost right but needs debugging as a top frustration.

key takeaway

On Ubuntu or Debian, install the AppImage only after checking FUSE, AppArmor and the `cursor://` URL handler, since a missing FUSE library, an AppArmor sandbox crash and a non-returning sign-in appear in that fixed order.

by read37 min views3 publishedDec 1, 2026
Cursor IDE Download for Linux: 12 Steps, 55 Min
Image: Shattered (auto-discovered)

Cursor’s official download page lists Linux builds as a .deb, an RPM and an AppImage, each for x64 and ARM64, and it names version 3.32 as the latest desktop release. Choosing a file takes ten seconds. Making that file launch, sign in and update cleanly on a current Ubuntu or Debian desktop takes longer, because three Linux-specific problems tend to surface in a fixed order: a missing FUSE library, a browser-sandbox crash caused by AppArmor, and a sign-in that never returns to the app.

Developers have good reasons to set the editor up carefully. The 2025 Stack Overflow developer survey press release reports that 64% of developers named AI code that is almost right but needs debugging as a top frustration, and a half-working install adds its own friction on top of that. The supply side matters as well. Cursor’s own security notice named malicious Anthropic.claude-code versions 2.1.312 and 2.1.313 in its extension marketplace, an incident covered in the report on the tampered Claude Code extension.

The finished project is cursor-linux-doctor.sh, a Bash tool of about 190 lines that checks your distro, architecture, FUSE, AppArmor, keyring and URL handler, installs an AppImage with a desktop entry and a cursor launcher, and prints an AppArmor profile when Ubuntu blocks the sandbox. You build it step by step, then rerun it whenever something changes so a broken setup gets flagged before it costs you a morning.

Don't miss new tech stories on Google

Add Shattered once in the Google app and our stories show up in your news suggestions.

Add now

Why a Cursor IDE Download on Linux Needs More Than a Double-Click #

Windows and macOS users get one installer. Linux users get a menu of formats, the same situation the Euro-Office desktop download creates for any cross-platform app, and each format moves a different amount of responsibility onto you. The .deb hands dependency resolution to apt. The RPM does the same for dnf. The AppImage is a single executable file that carries its own libraries, which makes it portable and also means you own the desktop integration: the menu entry, the icon, the cursor:// link handler that browser sign-in depends on, and the updates.

Format Architectures listed on the download page Best for Trade-off
.deb x64 and ARM64 Ubuntu, Debian, Mint, Pop!_OS Needs root, ties you to the distro’s package tooling
RPM x64 and ARM64 Fedora, RHEL family, openSUSE Needs root, different dependency names
AppImage x64 and ARM64 No-root installs, side-by-side versions, locked-down desktops You wire up the menu entry, URL handler and sandbox yourself

Cursor’s documentation reportedly recommends the APT repository route on Debian and Ubuntu, and release notes from late November reportedly describe fixes for update notifications on .deb and RPM installs plus the AppImage updater. Treat those as reasons to prefer a native package when you have root, and keep the AppImage for the cases where you do not.

One naming caveat applies right now. Docs pages on the Cursor site already refer to a product called Grok Build, and Engadget reported on November 30 that Cursor has been rebranded. An official announcement was not confirmed when this was written, and the download page still describes the Cursor desktop app. The steps below use the Cursor name and the .cursor folders that exist today. If the download page shows a different product name when you read this, check the package filename in step 3 and adjust the filenames in the commands, because the Linux mechanics do not change.

The version number deserves the same care. The official download page lists Cursor 3.32 as the latest desktop release, and a version tracker reportedly logged 3.32.10 on November 26. Pages that show 3.27 or 3.30 are older snapshots. Install whatever the download page offers on the day you read this.

Prerequisites and Versions #

The table lists what the walkthrough assumes. Ubuntu 26.04.1 LTS is the current long-term release on Ubuntu’s own download page, with Ubuntu 26.10 also listed. Debian 13 “trixie” is stable, and Debian 13.8 is the newest point release. Ubuntu 24.04 LTS is no longer the current LTS, so it appears here only as something the doctor script can check rather than something this guide certifies.

Component Version or requirement Why it matters
Ubuntu 26.04.1 LTS (or 26.10) Primary test target, ships the AppArmor user-namespace restriction
Debian 13.8 “trixie” Same .deb , usually no AppArmor user-namespace restriction
Fedora or RHEL family A current release with dnf RPM route
Cursor desktop app 3.32 (latest on the download page) The build you install
Bash 4.4 or newer The doctor script relies on local ,case andset -euo pipefail
curl, file, coreutils Any current release Download checks and checksums
libfuse2t64 (orlibfuse2 ) Distro package AppImage self-mounting
gnome-keyring or KWallet Distro package Stores the sign-in token
xdg-utils ,desktop-file-utils Distro package Menu entry and cursor:// handler
Cursor account and a browser Free plan is enough Sign-in happens in the browser

Older releases may work too. Whether a given Cursor build starts on a given distro depends on the glibc and library versions that build expects, and the Cursor pages checked for this guide did not list minimum system requirements. The doctor script reports your glibc version and flags the usual blockers, so a failed check tells you more than a version table could.

Budget the time like this: steps 1 to 3 take about 15 minutes, steps 4 to 7 about 20 minutes, steps 8 to 10 about 10 minutes, and steps 11 and 12 plus the timer about 10 minutes. Machines with slow package mirrors will stretch the first block.

Prepare the System: Steps 1 and 2 #

Step 1: Check Your Distro, Architecture and Session Type

Every wrong download traces back to a skipped version of this step. Run five read-only commands and write the answers down.

grep -E '^(NAME|VERSION_ID)=' /etc/os-release
uname -m
dpkg --print-architecture      # Debian family only
echo "session: ${XDG_SESSION_TYPE:-unknown}"
ldd --version | head -n 1

Typical output on an Ubuntu 26.04 x64 desktop looks like this:

NAME="Ubuntu"
VERSION_ID="26.04"
x86_64
amd64
session: wayland
ldd (Ubuntu GLIBC 2.xx-0ubuntuX) 2.xx

Map the answers to Cursor’s labels. x86_64 and amd64 mean the x64 downloads. aarch64 and arm64 mean the ARM64 downloads, which cover ARM laptops, Raspberry Pi class boards with enough memory, and cloud ARM instances. Anything else, such as armv7l or riscv64, has no official build on the download page, and the doctor script will refuse it.

The session type matters later. A Wayland session needs a flag in step 11 for sharp text with fractional scaling, while X11 usually works with defaults. A blank value means you are on a TTY or an SSH session, and a graphical editor will not start there.

Step 2: Install Runtime Libraries

The .deb and RPM pull their own dependencies, but the AppImage expects a few things from the host, and sign-in expects a secret store on every format. Install them first so later failures point at real problems.

sudo apt update
sudo apt install -y libfuse2t64 gnome-keyring libsecret-tools \
  xdg-utils desktop-file-utils file curl ca-certificates

sudo dnf install -y fuse-libs gnome-keyring libsecret \
  xdg-utils desktop-file-utils file curl

Here is what each package buys you:

  • libfuse2t64 lets the AppImage mount itself. On releases from before the 64-bit time_t transition the package is calledlibfuse2 , andapt will tell you which name exists.
  • gnome-keyring (or KWallet on KDE) stores the token that browser sign-in produces. Without a running secret service, sign-in appears to succeed and then forgets you on the next launch.
  • xdg-utils providesxdg-mime andxdg-open , which route thecursor:// link from your browser back into the editor.
  • desktop-file-utils providesupdate-desktop-database anddesktop-file-validate .

If you cannot install FUSE, the AppImage still runs with APPIMAGE_EXTRACT_AND_RUN=1 set. It unpacks to a temporary folder on every launch, so startup is slower, but nothing else changes. The launcher the doctor script writes honors CURSOR_NOFUSE=1 for exactly this case.

Download and Verify: Step 3 #

Step 3: Pick a Method and Download From the Official Page

Choose by what you control and by who will maintain the machine in six months. A laptop you reinstall every year can take any format. A shared workstation, a classroom image or a team standard needs the format that survives staff changes, and that is usually the native package, because anyone who knows apt can inspect it. With root on Ubuntu or Debian, use the .deb through the APT repository. With root on Fedora, use the RPM. Without root, on a locked-down desktop, or when you want two versions side by side, use the AppImage. Teams that manage fleets lean toward the native packages, because apt and dnf already know how to report and roll back versions.

Download from the Cursor website’s download page and nowhere else. Anyone searching for a cursor ide download lands on ads and lookalike domains, and a code editor that reads your repositories and credentials is a prime payload for a fake installer. Type cursor.com yourself, open the download page, and pick the Linux tab that matches the architecture from step 1.

Pay attention to the architecture toggle on the page. Some browsers on ARM machines report an x64 platform through compatibility layers, and the page may preselect the wrong tab. The tab label you click matters more than the page’s guess, so confirm it against the uname -m result you wrote down in step 1.

Once the file lands in ~/Downloads, inspect it before you run anything.

cd ~/Downloads
ls -lh Cursor* cursor* 2>/dev/null
file -b Cursor*.AppImage 2>/dev/null
sha256sum Cursor* cursor* 2>/dev/null | tee ~/Downloads/cursor-downloads.sha256

The file output must name your architecture, x86-64 or ARM aarch64. If the download page lists a checksum, compare it with the sha256sum line. If it does not, keep the recorded hash anyway, because it lets you detect a file that changed between a test machine and a rollout. For a .deb, dpkg-deb --info prints the package name, version and architecture without installing anything.

dpkg-deb --info ~/Downloads/cursor_*_amd64.deb | grep -E 'Package|Version|Architecture'

Install the Package: Steps 4 and 5 #

Step 4: Install the .deb or Add Cursor’s APT Repository

The repository route gives you apt upgrade integration. Cursor’s Quickstart documentation reportedly documents an official signing key and repository line for Debian and Ubuntu, and you should copy both from that page because the values can change. The commands below keep the key and repository line in variables so you paste them once.

export CURSOR_KEY_URL='paste-the-key-url-from-the-official-linux-docs'
export CURSOR_APT_LINE='paste-the-deb-line-from-the-official-linux-docs'

sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL "$CURSOR_KEY_URL" | sudo gpg --dearmor -o /etc/apt/keyrings/cursor.gpg
echo "$CURSOR_APT_LINE" | sudo tee /etc/apt/sources.list.d/cursor.list
sudo apt update
sudo apt install -y cursor

Edit the pasted line so it carries signed-by=/etc/apt/keyrings/cursor.gpg inside its option brackets. That scopes the key to this one repository instead of trusting it system-wide, the same keyring hygiene used when you add repositories for a Kubernetes install, as in the kubeadm walkthrough for Ubuntu 26.04. If the key file is already in binary form, skip gpg --dearmor and save it with tee instead.

Prefer a one-off install from the downloaded file? Use apt, not dpkg, so dependencies resolve:

cp ~/Downloads/cursor_*_amd64.deb /tmp/
sudo apt install -y /tmp/cursor_*_amd64.deb

Copying to /tmp first avoids the harmless but alarming “download is performed unsandboxed as root” warning that apt prints for files in a home directory. The leading / or ./ matters, because without it apt searches repositories instead of reading your file. Fedora users run sudo dnf install ./cursor-*.rpm from the download folder.

Confirm what landed:

dpkg -s cursor | grep -E '^(Package|Status|Version|Architecture):'
command -v cursor
apt-cache policy cursor | head -n 4

Expected output, with the version matching what the download page offered:

Package: cursor
Status: install ok installed
Architecture: amd64
Version: 3.32.x
/usr/bin/cursor
cursor:
  Installed: 3.32.x
  Candidate: 3.32.x

A .deb install ends here for the install itself. Skip to step 6 only if the editor refuses to start, and otherwise jump to step 8. If you went the native route, keep reading step 5 anyway, because the doctor script also audits .deb installs.

Step 5: Install the AppImage With the Doctor Script

The AppImage path needs more glue, so this step builds the project tool. Save the script as ~/bin/cursor-linux-doctor.sh, make it executable, and run its default doctor command first. The script reads the system, never writes during doctor, and exits non-zero when something blocks a working install.

#!/usr/bin/env bash
set -euo pipefail

APP_DIR="${CURSOR_APP_DIR:-$HOME/Applications}"
BIN_DIR="${CURSOR_BIN_DIR:-$HOME/.local/bin}"
DATA_DIR="${XDG_DATA_HOME:-$HOME/.local/share}"
APPIMAGE="$APP_DIR/Cursor.AppImage"
PASS=0
WARN=0
FAIL=0

ok()   { printf '  [ OK ] %s\n' "$*"; PASS=$((PASS + 1)); }
warn() { printf '  [WARN] %s\n' "$*"; WARN=$((WARN + 1)); }
bad()  { printf '  [FAIL] %s\n' "$*"; FAIL=$((FAIL + 1)); }
have() { command -v "$1" >/dev/null 2>&1; }

check_system() {
  echo "System"
  local name="unknown" version="unknown" arch
  if [ -r /etc/os-release ]; then
    name="$(. /etc/os-release && echo "${NAME:-unknown}")"
    version="$(. /etc/os-release && echo "${VERSION_ID:-unknown}")"
  fi
  arch="$(uname -m)"
  case "$arch" in
    x86_64|aarch64) ok "distro: $name $version, architecture: $arch" ;;
    *) bad "architecture $arch has no official Cursor build" ;;
  esac
  if have ldd; then
    ok "glibc: $(ldd --version | head -n 1 | awk '{print $NF}')"
  else
    warn "ldd not found, cannot read the glibc version"
  fi
  case "${XDG_SESSION_TYPE:-unknown}" in
    wayland) ok "session: Wayland (see the ozone flag in step 11)" ;;
    x11) ok "session: X11" ;;
    *) warn "session type unknown (running over SSH or a TTY?)" ;;
  esac
  local free_kb
  free_kb="$(df -Pk "$HOME" | awk 'NR==2 {print $4}')"
  if [ "${free_kb:-0}" -lt 2097152 ]; then
    warn "less than 2 GB free in $HOME"
  else
    ok "free space in $HOME: $((free_kb / 1024)) MB"
  fi
}

check_runtime() {
  echo "Runtime dependencies"
  if ldconfig -p 2>/dev/null | grep -q 'libfuse\.so\.2'; then
    ok "libfuse2 present (AppImage can mount itself)"
  else
    warn "libfuse2 missing: install libfuse2t64 (or libfuse2), or set CURSOR_NOFUSE=1"
  fi
  local userns
  userns="$(sysctl -n kernel.apparmor_restrict_unprivileged_userns 2>/dev/null || echo n/a)"
  if [ "$userns" != "1" ]; then
    ok "user namespace restriction: $userns"
  elif [ ! -x "$APPIMAGE" ]; then
    ok "user namespace restriction is on (only an AppImage needs a profile)"
  elif [ -f /etc/apparmor.d/cursor-appimage ]; then
    ok "user namespace restriction is on, profile found: /etc/apparmor.d/cursor-appimage"
  else
    warn "AppArmor restricts unprivileged user namespaces: AppImage needs a profile (run: $0 userns-profile)"
  fi
  if have gnome-keyring-daemon || have secret-tool || have kwalletd6 || have kwalletd5; then
    ok "a secret-store service is installed (sign-in tokens can be saved)"
  else
    warn "no keyring service found: sign-in may fail, install gnome-keyring"
  fi
  local watches
  watches="$(cat /proc/sys/fs/inotify/max_user_watches 2>/dev/null || echo 0)"
  if [ "$watches" -lt 262144 ]; then
    warn "inotify watch limit is $watches: large repos will log ENOSPC errors"
  else
    ok "inotify watch limit: $watches"
  fi
}

check_install() {
  echo "Install state"
  local found=0
  if have dpkg && dpkg -s cursor >/dev/null 2>&1; then
    ok "deb package installed: $(dpkg -s cursor | awk '/^Version:/ {print $2}')"
    found=1
  fi
  if have rpm && rpm -q cursor >/dev/null 2>&1; then
    ok "rpm package installed: $(rpm -q cursor)"
    found=1
  fi
  if [ -x "$APPIMAGE" ]; then
    ok "AppImage present: $APPIMAGE"
    found=1
  fi
  [ "$found" -eq 1 ] || bad "no Cursor installation found"
  if have cursor; then
    ok "cursor command on PATH: $(command -v cursor)"
  else
    warn "cursor command not on PATH (is $BIN_DIR in PATH?)"
  fi
  local handler
  handler="$(xdg-mime query default x-scheme-handler/cursor 2>/dev/null || true)"
  if [ -n "$handler" ]; then
    ok "cursor:// links open with $handler (browser sign-in works)"
  else
    warn "no handler for cursor:// links: browser sign-in will not return to the app"
  fi
}

install_appimage() {
  local src="${1:-}"
  [ -n "$src" ] && [ -f "$src" ] || { echo "usage: $0 install-appimage /path/to/Cursor.AppImage"; exit 2; }
  if have file; then
    local kind
    kind="$(file -b "$src")"
    case "$(uname -m):$kind" in
      x86_64:*x86-64*|aarch64:*aarch64*) ;;
      *) echo "refusing: $src does not match this machine ($kind)"; exit 3 ;;
    esac
  fi
  mkdir -p "$APP_DIR" "$BIN_DIR" "$DATA_DIR/applications" "$DATA_DIR/icons"
  install -m 0755 "$src" "$APPIMAGE"
  sha256sum "$APPIMAGE" | tee "$APP_DIR/Cursor.AppImage.sha256"

  local tmp icon="applications-development"
  tmp="$(mktemp -d)"
  (cd "$tmp" && "$APPIMAGE" --appimage-extract '*.png' >/dev/null 2>&1) || true
  local best
  best="$(find "$tmp" -name '*.png' -printf '%s %p\n' 2>/dev/null | sort -nr | head -n 1 | cut -d' ' -f2-)"
  if [ -n "$best" ]; then
    cp "$best" "$DATA_DIR/icons/cursor.png"
    icon="$DATA_DIR/icons/cursor.png"
  fi
  rm -rf "$tmp"

  cat > "$BIN_DIR/cursor" <<EOF
#!/usr/bin/env bash
if [ "\${CURSOR_NOFUSE:-0}" = "1" ]; then export APPIMAGE_EXTRACT_AND_RUN=1; fi
case "\${1:-}" in
  --version|-v|--help|-h|--list-extensions|--install-extension|--uninstall-extension)
    exec "$APPIMAGE" "\$@" ;;
esac
nohup "$APPIMAGE" "\$@" >/dev/null 2>&1 &
disown
EOF
  chmod 0755 "$BIN_DIR/cursor"

  cat > "$DATA_DIR/applications/cursor.desktop" <<EOF
[Desktop Entry]
Name=Cursor
Comment=AI code editor
Exec=$APPIMAGE %U
Icon=$icon
Type=Application
Categories=Development;IDE;TextEditor;
MimeType=x-scheme-handler/cursor;
StartupWMClass=Cursor
Terminal=false
EOF
  have update-desktop-database && update-desktop-database "$DATA_DIR/applications" || true
  have xdg-mime && xdg-mime default cursor.desktop x-scheme-handler/cursor || true
  echo "installed: $APPIMAGE"
}

print_userns_profile() {
  cat <<EOF
abi <abi/4.0>,
include <tunables/global>

profile cursor-appimage $APPIMAGE flags=(unconfined) {
  userns,
  include if exists <local/cursor-appimage>
}
EOF
  echo "# save as /etc/apparmor.d/cursor-appimage, then: sudo apparmor_parser -r /etc/apparmor.d/cursor-appimage" >&2
}

doctor() {
  check_system
  check_runtime
  check_install
  printf '\nSummary: %d ok, %d warnings, %d failures\n' "$PASS" "$WARN" "$FAIL"
  [ "$FAIL" -eq 0 ]
}

case "${1:-doctor}" in
  doctor) doctor ;;
  install-appimage) shift; install_appimage "${1:-}" ;;
  userns-profile) print_userns_profile ;;
  *) echo "usage: $0 [doctor | install-appimage FILE | userns-profile]"; exit 2 ;;
esac

Save it and run the preflight:

mkdir -p ~/bin
nano ~/bin/cursor-linux-doctor.sh      # paste the script, save
chmod +x ~/bin/cursor-linux-doctor.sh
~/bin/cursor-linux-doctor.sh doctor

The first run on a fresh Ubuntu desktop usually ends with warnings and one failure, because nothing is installed yet. That is the point. Now install the file you downloaded and verified:

~/bin/cursor-linux-doctor.sh install-appimage ~/Downloads/Cursor-*.AppImage

The install command refuses an AppImage whose architecture does not match the machine, copies the file to ~/Applications/Cursor.AppImage with mode 0755, writes a SHA-256 file beside it, extracts the largest PNG inside the image as the icon, writes a cursor launcher into ~/.local/bin, creates cursor.desktop with the x-scheme-handler/cursor MIME type, and registers that handler with xdg-mime. Three environment variables change where the script writes, which helps on shared machines and in tests. CURSOR_APP_DIR moves the AppImage and its checksum file, CURSOR_BIN_DIR moves the launcher, and XDG_DATA_HOME moves the desktop entry and icon. Set them for one run, for example CURSOR_APP_DIR=/opt/cursor-app, and remember that the AppArmor profile in step 6 must then name the new path. Log out and back in once so ~/.local/bin lands on your PATH (or run export PATH="$HOME/.local/bin:$PATH" in the current shell), then run ~/bin/cursor-linux-doctor.sh doctor again and compare.

Make It Launch Properly: Steps 6 and 7 #

Step 6: Fix the AppArmor Sandbox Block on Ubuntu

This is the step that sends most Ubuntu users to a search engine. Cursor is an Electron app, and Electron’s Chromium core sandboxes its renderer processes with unprivileged user namespaces. Recent Ubuntu releases restrict those namespaces for programs that have no AppArmor profile, and an AppImage dropped into ~/Applications has none. The symptom is an AppImage that exits at once from the menu, and a terminal launch that prints a sandbox error.

Check the switch first:

sysctl kernel.apparmor_restrict_unprivileged_userns

A value of 1 means the restriction is active. Do not turn it off system-wide, because it protects every other program on the machine. Write a profile for this one file instead. The doctor script prints the exact profile for the path it installed to:

~/bin/cursor-linux-doctor.sh userns-profile 2>/dev/null \
  | sudo tee /etc/apparmor.d/cursor-appimage
sudo apparmor_parser -r /etc/apparmor.d/cursor-appimage

The profile grants one capability, userns, to the AppImage’s exact path and leaves everything else unconfined. Launch the editor from a terminal to confirm:

cursor --version
cursor ~/projects/demo

For a .deb install the package normally handles its own sandbox helper, and you will rarely need this. If you still see the sandbox error, find the real executable and point the same profile at it:

dpkg -L cursor | grep -E '/cursor$|chrome-sandbox'

The last-resort flag is --no-sandbox. It works, and it also removes the layer that contains a compromised renderer, which matters in an editor that opens untrusted repositories and renders extension content. Use it for ten minutes of diagnosis and then remove it.

Step 7: Verify the Desktop Entry, Icon and cursor Command

The install command wrote three things. Check each one rather than assuming.

desktop-file-validate ~/.local/share/applications/cursor.desktop && echo "desktop file ok"
xdg-mime query default x-scheme-handler/cursor
command -v cursor
cursor --version

Expected output:

desktop file ok
cursor.desktop
/home/dev/.local/bin/cursor
3.32.x
<commit hash>
x64

The three version lines are the release, the commit and the architecture, which reads arm64 on ARM machines.

On Ubuntu, ~/.profile adds ~/.local/bin to PATH only if the folder existed when you logged in. If command -v cursor prints nothing, log out and back in once, or run export PATH="$HOME/.local/bin:$PATH" in the current shell. Press the Super key and type “Cursor” to confirm the menu entry and icon appear. If the icon is a generic gear, the extraction found no PNG, and you can point Icon= in the desktop file at any image you like.

The cursor command here is the editor launcher, the same idea as code for VS Code. Cursor’s terminal-based agent is a separate tool with its own install and permission model, covered in the Cursor CLI local setup guide. Keep the two apart in your head, because “cursor is not found” and “the agent CLI is not found” have different fixes.

Sign In and Pick a Plan: Step 8 #

Step 8: Sign In and Match a Plan to Your Use

Launch Cursor from the menu. The first-run flow offers sign-in, and the browser handles the actual login. When it finishes, the browser opens a cursor:// link, xdg-open hands it to the handler registered in step 7, and the editor stores the token in your keyring. A keyring prompt appearing at this moment is normal. Enter your login password to unlock it. If you keep a personal and a work account, sign in with the one that matches the machine, and use the separate-profile approach from the advanced tips for the other, because switching accounts inside one profile mixes extension and settings state. Confirm the session took by closing the editor fully, reopening it, and checking that it still shows you as signed in. A session that disappears after a restart points at the keyring, not at Cursor.

Plan choice is independent of Linux, but it decides whether the install is worth the effort for you. These are the monthly prices on Cursor’s pricing page, as summarized in a Cursor reference wiki:

Plan Monthly price
Free $0
Plus $8
Premium $30
Super $100
Ultra $200

Several details around those prices are less settled, so treat them as reported rather than guaranteed. Annual billing is reportedly $80, $300, $1,000 and $2,000 for Plus through Ultra, and the paid tiers are reportedly sized at roughly 4x, 15x and 50x the Plus usage allowance for Premium, Super and Ultra. Cursor’s documentation reportedly describes the Free plan as limited usage with no third-party models, while Premium and above can buy third-party models at API list price from prepaid credit. The same documentation reportedly marks Pro, Pro+, Start and the older Teams tiers as legacy plans, with request-based customers moving to usage-based pricing at renewal. Check the live pricing page before you buy.

One privacy detail is worth checking on day one. Cursor’s model documentation says Claude Fable 5.2 requires approval of Anthropic’s data-retention terms for Teams and individual customers who have Privacy Mode enabled. If Privacy Mode matters to you, open Settings, confirm its state, and read the model page before you select that model, rather than discovering the trade-off after your first agent run.

Migrate Settings and Add Rules: Steps 9 and 10 #

Step 9: Import VS Code Settings and Extensions

Cursor is a VS Code fork, so most of your muscle memory carries over. The first-run wizard and the settings screen offer an import from VS Code, and that is the fastest path when it works. The manual route is reliable and shows you exactly what moves.

mkdir -p ~/.config/Cursor/User
cp ~/.config/Code/User/settings.json    ~/.config/Cursor/User/
cp ~/.config/Code/User/keybindings.json ~/.config/Cursor/User/
code --list-extensions > ~/vscode-extensions.txt
wc -l ~/vscode-extensions.txt

Two details save time. Theme and font settings carry over untouched because they are plain keys in settings.json, while settings that point at tools by absolute path, such as a Python interpreter or a formatter binary, need a second look because Linux paths differ from the macOS or Windows machine the file came from. Open the list and read it before installing anything. Delete extensions you no longer use, and look hard at every publisher you do not recognize. Then install in a loop and keep a log of failures:

while read -r ext; do
  cursor --install-extension "$ext" || echo "FAILED: $ext" >> ~/cursor-ext-failures.txt
done < ~/vscode-extensions.txt
cursor --list-extensions --show-versions | head -n 20

Expect a few failures. Cursor runs its own extension marketplace rather than Microsoft’s, and some Microsoft-published extensions are licensed for Microsoft’s own builds only, so look for community replacements for those. The malicious Anthropic.claude-code versions named in Cursor’s security notice are the reason to avoid bulk-trusting a marketplace. Compare each installed extension’s publisher against the publisher you meant to install, and review extensions the way you review any other dependency.

Step 10: Add Project Rules That Know Your Linux Setup

Agents guess your environment unless you tell them. Project rules are version-controlled .mdc files stored in .cursor/rules in your repository, according to a review that summarizes Cursor’s current documentation, and Cursor’s agents also read AGENTS.md files. A short always-on rule stops the most common Linux-specific mistakes, like suggesting brew install or macOS paths.

mkdir -p .cursor/rules
cat > .cursor/rules/linux-env.mdc <<'EOF'
---
description: Linux development environment the agent should assume
alwaysApply: true
---
- The target OS is Ubuntu 26.04.1 LTS on x64, and the shell is bash.
- Install system packages with apt, never brew, and ask before using sudo.
- Use forward slashes and POSIX tools. Do not assume macOS paths or PowerShell.
- Run the project's tests with the commands in the README before claiming a fix works.
EOF
git add .cursor/rules/linux-env.mdc

A second rule shows path scoping. This one attaches only when the agent touches shell scripts, which keeps the always-on rule short:

cat > .cursor/rules/shell-style.mdc <<'EOF'
---
description: Style rules for bash scripts in this repository
globs: ["**/*.sh"]
alwaysApply: false
---
- Start scripts with `set -euo pipefail` and quote every variable expansion.
- Prefer `printf` over `echo` for anything with escapes.
- Run `bash -n` on every script you edit and report the result.
EOF

The front matter has three keys that matter here: description, globs for path-scoped rules, and alwaysApply for rules that go into every session. Commit the file so teammates on macOS or Windows get the same guardrail, and edit the OS line to match each project. Rule authoring has its own depth, from glob scoping to testing that a rule actually fires, and it deserves a separate session once the editor itself works. More editor and agent setups sit in the Coding and Dev Tools section.

Display, Updates and Cleanup: Steps 11 and 12 #

Step 11: Tune Wayland, HiDPI and GPU Flags

Electron apps default to X11 compatibility on many Wayland setups, which shows up as blurry text under fractional scaling. Tell Chromium to pick the native platform. For the AppImage, add the flag to the Exec= line of the desktop entry:

sed -i 's|^Exec=\(.*Cursor.AppImage\)|Exec=\1 --ozone-platform-hint=auto|' \
  ~/.local/share/applications/cursor.desktop
grep '^Exec=' ~/.local/share/applications/cursor.desktop

The output should read Exec=/home/dev/Applications/Cursor.AppImage --ozone-platform-hint=auto %U. For flags you want on every launch regardless of how the editor starts, use the runtime arguments file. In VS Code forks it is argv.json in the data folder, which for Cursor is ~/.cursor/argv.json. The Command Palette entry “Preferences: Configure Runtime Arguments” opens it.

{
  // fall back to software rendering if the GPU driver misbehaves
  "disable-hardware-acceleration": true,
  // pick the keyring backend explicitly on minimal desktops
  "password-store": "gnome-libsecret"
}

Enable disable-hardware-acceleration only if the window opens black or flickers, because it trades smoothness for stability. The password-store line is the fix when sign-in complains about the OS keyring. Large repositories also hit the inotify watch limit, which shows up as file-watcher errors in the log. Raise it once:

echo 'fs.inotify.max_user_watches=524288' | sudo tee /etc/sysctl.d/60-cursor-watches.conf
sudo sysctl --system | grep max_user_watches

Step 12: Update, Pin, Roll Back and Uninstall

Updating differs by install type, and mixing types is how people end up with two copies and a link handler that opens the wrong one.

For the APT route, the editor can report new versions and apt applies them:

sudo apt update
sudo apt install --only-upgrade cursor
apt-cache madison cursor | head -n 5

Release notes from late November reportedly describe fixes so that .deb and RPM installs stop showing update notifications when apt or dnf has nothing newer, and so that the notification can display the matching apt-get or dnf upgrade command. If an update breaks something, apt-cache madison lists the versions the repository still serves, and you can install one explicitly with sudo apt install cursor=<version>. Freeze a known-good build with sudo apt-mark hold cursor and release it later with sudo apt-mark unhold cursor.

For the AppImage, keep the previous file before you replace it. The AppImage updater was reportedly fixed in the same release notes, but a manual copy costs nothing:

cp ~/Applications/Cursor.AppImage ~/Applications/Cursor-previous.AppImage
~/bin/cursor-linux-doctor.sh install-appimage ~/Downloads/Cursor-NEW.AppImage

Rolling back means copying the previous file over Cursor.AppImage. Remember that the AppArmor profile from step 6 matches the path Cursor.AppImage, so a renamed copy launched directly will hit the sandbox restriction again. To uninstall, remove the package with sudo apt remove cursor or delete the AppImage, the launcher and the desktop entry. Settings live in ~/.config/Cursor and extensions under ~/.cursor. Back those up before you delete them, since project rules live in your repositories and are unaffected. A plain archive is enough:

tar -czf ~/cursor-backup-$(date +%F).tar.gz ~/.config/Cursor/User ~/.cursor/argv.json
tar -tzf ~/cursor-backup-*.tar.gz | head -n 10

Restoring is the same archive extracted over a clean install, which makes the backup a handy first move before any major editor update.

The Complete Project: Weekly Health Checks With systemd #

A doctor script that you remember to run is a script you run twice. A user-level systemd timer runs it weekly and logs the result, which catches the quiet breakages: an OS upgrade that flips the AppArmor sysctl, a keyring service that stopped starting, or an update that replaced the URL handler.

mkdir -p ~/.config/systemd/user

cat > ~/.config/systemd/user/cursor-doctor.service <<'EOF'
[Unit]
Description=Cursor Linux doctor

[Service]
Type=oneshot
ExecStart=%h/bin/cursor-linux-doctor.sh doctor
EOF

cat > ~/.config/systemd/user/cursor-doctor.timer <<'EOF'
[Unit]
Description=Run the Cursor Linux doctor weekly

[Timer]
OnCalendar=weekly
Persistent=true

[Install]
WantedBy=timers.target
EOF

systemctl --user daemon-reload
systemctl --user enable --now cursor-doctor.timer
systemctl --user list-timers cursor-doctor.timer

Read the latest result any time with journalctl --user -u cursor-doctor.service -n 30. A failed run marks the unit as failed, so systemctl --user --failed doubles as a one-line health check.

Test the script itself before you trust it. These two checks exercise the paths that do not need a real AppImage:

printf '#!/bin/sh\necho hi\n' > /tmp/fake.AppImage
~/bin/cursor-linux-doctor.sh install-appimage /tmp/fake.AppImage; echo "exit=$?"
~/bin/cursor-linux-doctor.sh bogus; echo "exit=$?"

Both runs behave as designed. The first prints refusing: /tmp/fake.AppImage does not match this machine followed by the file description of the script, and exits with code 3. The second prints the usage line and exits with code 2. The userns-profile command prints the AppArmor profile for whatever CURSOR_APP_DIR points at, which makes it easy to review before it goes into /etc/apparmor.d.

Pair the timer with a habit. After any distro upgrade, run ~/bin/cursor-linux-doctor.sh doctor by hand before you open a project, since major upgrades are when kernel settings, keyring services and default URL handlers change underneath an unchanged editor. The final layout is small enough to back up in a dotfiles repository:

~/bin/cursor-linux-doctor.sh
~/Applications/Cursor.AppImage            (AppImage route)
~/Applications/Cursor.AppImage.sha256
~/.local/bin/cursor                       (launcher)
~/.local/share/applications/cursor.desktop
~/.config/systemd/user/cursor-doctor.{service,timer}
/etc/apparmor.d/cursor-appimage           (Ubuntu only)

Expected Output: Healthy and Broken Runs #

A healthy AppImage install on Ubuntu with the profile loaded ends like this. The numbers will differ on your machine.

System
  [ OK ] distro: Ubuntu 26.04, architecture: x86_64
  [ OK ] glibc: 2.xx
  [ OK ] session: Wayland (see the ozone flag in step 11)
  [ OK ] free space in /home/dev: 48211 MB
Runtime dependencies
  [ OK ] libfuse2 present (AppImage can mount itself)
  [ OK ] user namespace restriction is on, profile found: /etc/apparmor.d/cursor-appimage
  [ OK ] a secret-store service is installed (sign-in tokens can be saved)
  [ OK ] inotify watch limit: 524288
Install state
  [ OK ] AppImage present: /home/dev/Applications/Cursor.AppImage
  [ OK ] cursor command on PATH: /home/dev/.local/bin/cursor
  [ OK ] cursor:// links open with cursor.desktop (browser sign-in works)

Summary: 11 ok, 0 warnings, 0 failures

A machine that has the AppImage but no FUSE and no profile reports the two problems that account for most Ubuntu failures, and it names the fix in the line itself:

Runtime dependencies
  [WARN] libfuse2 missing: install libfuse2t64 (or libfuse2), or set CURSOR_NOFUSE=1
  [WARN] AppArmor restricts unprivileged user namespaces: AppImage needs a profile (run: ./cursor-linux-doctor.sh userns-profile)
...
Summary: 9 ok, 2 warnings, 0 failures

A machine with nothing installed shows the failure condition the timer watches for:

Install state
  [FAIL] no Cursor installation found
  [WARN] cursor command not on PATH (is /home/dev/.local/bin in PATH?)
  [WARN] no handler for cursor:// links: browser sign-in will not return to the app

Summary: 6 ok, 2 warnings, 1 failures

Warnings do not stop the script, so a machine can show 0 failures and still be unable to start the editor. Read the warnings line by line, because each one maps to a step in this guide: a FUSE warning points at step 2, the user-namespace warning at step 6, the URL handler warning at step 7, the keyring warning at steps 2 and 8, and the inotify warning at step 11. That mapping is deliberate. When a colleague says the editor misbehaves, you ask for the doctor output and know which step to repeat. The exit code only goes non-zero when nothing is installed or the architecture has no official build, and that is the condition the weekly timer turns into a failed unit.

Common Pitfalls #

  1. Down from a lookalike site. Sponsored results for “cursor ide download” can point at clone domains. Type the address yourself and read the Linux tab on the official page.
  2. Running the AppImage from a noexec mount. Some distros and hardened setups mount/tmp or removable drives without execute permission, and the file fails with “Permission denied” even afterchmod +x . The doctor script installs into~/Applications for this reason.
  3. Installing the wrong architecture. An ARM64 package on an x64 laptop dies with “Exec format error”. Rununame -m before you download, and let the script’sfile check catch the rest.
  4. Leaving --no-sandbox in place. It cures the sandbox error and quietly removes the isolation that limits a malicious page or extension. Write the AppArmor profile and delete the flag.
  5. A profile that matches the wrong path. AppArmor attaches the profile to the exact executable path. Moving the AppImage, renaming it or launching it through a symlinked copy makes the profile miss, and the sandbox error returns.
  6. Mixing .deb and AppImage installs. Two copies mean two update channels and onecursor:// handler. Pick one, remove the other, and runxdg-mime query default x-scheme-handler/cursor to see which one owns sign-in.
  7. Bulk-importing every old extension. Your VS Code list may hold dead, renamed or unvetted entries. Review publishers first, which is cheaper than cleaning up after a bad one.
  8. Signing in without a keyring. The login works once and the token vanishes. Install and unlock a secret service before you start the browser flow.

Most of these pitfalls share one root cause: the install worked on the day, and nobody wrote down which format, path and profile made it work. Record the choices in a short note next to your dotfiles, because the person who inherits the machine, often you in a year, will otherwise repeat the diagnosis from scratch. The weekly doctor run turns that note into a check that fails loudly when reality drifts from it.

Troubleshooting: 10 Failures and Fixes #

  1. dlopen(): error libfuse.so.2. The AppImage cannot mount itself. Install libfuse2t64 (orlibfuse2 ), or launch withCURSOR_NOFUSE=1 cursor to extract and run.
  2. Permission denied when launching the AppImage. Runchmod +x ~/Applications/Cursor.AppImage , then checkfindmnt -no OPTIONS -T ~/Applications fornoexec . Move the file to a mount that allows execution.
  3. “No usable sandbox” or “The SUID sandbox helper binary was found, but is not configured correctly”. Ubuntu’s user-namespace restriction is blocking Chromium. Follow step 6 and load the profile withapparmor_parser -r .
  4. The window opens black, flickers or closes after a second. Launch once with--disable-gpu . If that works, set"disable-hardware-acceleration": true in~/.cursor/argv.json and update your graphics driver later.
  5. The browser says sign-in succeeded and the editor never notices. Thecursor:// handler is missing or points at another copy. Runxdg-mime query default x-scheme-handler/cursor , then re-run the install command, which re-registers the handler. Browsers packaged as sandboxed apps sometimes cannot open external links, so try a distro-packaged browser for sign-in.
  6. “The OS keyring couldn’t be identified for storing the encryption related data”. No secret service is running. Installgnome-keyring , log in again so it starts, and set"password-store": "gnome-libsecret" inargv.json .
  7. File watcher errors with ENOSPC. The inotify limit is too low for your repository. Apply the sysctl change from step 11.
  8. cursor: command not found.~/.local/bin is not onPATH . Log out and in, or export it for the current shell, then runhash -r .
  9. E: Unable to locate package cursor. The repository file is missing, malformed or points at an architecture you do not run. Check/etc/apt/sources.list.d/cursor.list , confirmdpkg --print-architecture , and runsudo apt update again.
  10. Exec format error. Wrong architecture. Compare uname -m with thefile -b output for the download, then fetch the matching package.

Collect evidence before you change anything else, because the first error message is usually the useful one. Launch the editor from a terminal so stderr stays visible, run cursor --status to print process and resource information in the VS Code style, and read the log folder under ~/.config/Cursor/logs. For AppImage launches that die before the window appears, run ~/Applications/Cursor.AppImage directly, because the launcher script discards output on purpose. Paste the first error line, not the last one, into any bug report or forum thread. A sandbox error, a missing library and a GPU failure all look like the same “nothing happens” until you read that line.

Two edge cases deserve a mention. Behind a corporate proxy, extension installs fail while the editor itself works, and you fix that by setting the proxy in Cursor’s settings and in the shell environment. On an immutable or heavily locked-down distro where you cannot install libfuse2t64, the extract-and-run mode keeps the AppImage usable.

Advanced Tips #

  • Side-by-side profiles. VS Code forks accept--user-data-dir and--extensions-dir . Runcursor --user-data-dir ~/.cursor-work --extensions-dir ~/.cursor-work/ext to keep a locked-down work profile apart from a personal one with different extensions and a different account.
  • Pin and record versions on fleets. Keep the.sha256 file the script writes next to the AppImage, and store the expected hash in your configuration management. A drift check is onesha256sum -c away.
  • Roll it out with config management. An Ansible role can install the keyring packages, drop the script, runinstall-appimage for a user and register the timer. Before the rollout,audit which machines actually have Cursor installed , so you license and install only for people who open the editor.
  • Scope the AppArmor profile tightly. The profile names one path. Resist wildcards like/home/*/Applications/*.AppImage , which grant the same capability to every AppImage that lands there.
  • Hold the package during a release freeze.apt-mark hold cursor stops a surprise editor update in the middle of a deadline week, andunhold restores normal updates once you have tested the new build.
  • Mirror for air-gapped machines. Download the package and its.sha256 on a connected machine, move both by approved media, and runsha256sum -c beforeinstall-appimage . The doctor script needs nothing from the network, so it works offline.
  • Log the doctor into your inventory. The weekly timer already writes to the journal. Ship that journal unit to your log pipeline, and a fleet-wide view of who is missing FUSE or the AppArmor profile becomes a query instead of a survey.
  • Keep rules next to the code. Commit.cursor/rules andAGENTS.md with the project so every checkout, on any OS, ships the same instructions to the agent.
  • Treat extensions as a supply-chain input. Review publishers on import, prefer fewer extensions, and re-read Cursor’s security notices.

FAQ #

Is the Cursor IDE download free on Linux?

Yes. The editor download costs nothing, and the Free plan is listed at $0 a month on the pricing page. Paid plans start with Plus at $8 a month, then Premium at $30, Super at $100 and Ultra at $200. Plan limits apply to usage inside the editor, not to the installer.

Which Linux package should I download?

Use the .deb on Ubuntu and Debian when you have root, the RPM on Fedora and its relatives, and the AppImage when you need a no-root or portable install. The official download page lists all three formats for x64 and ARM64, so match the file to the output of uname -m.

Does Cursor run on ARM64 Linux?

The official download page lists ARM64 builds, including a .deb and an AppImage. Check uname -m. A result of aarch64 means you want the ARM64 file. An x64 file will not run there and fails with “Exec format error”.

Why does the Cursor AppImage close immediately on Ubuntu?

Two causes cover most cases. Either libfuse2t64 is missing, or Ubuntu’s AppArmor restriction on unprivileged user namespaces blocks the sandbox. Install the library, or launch with CURSOR_NOFUSE=1, and write the AppArmor profile from step 6. Launching from a terminal prints the actual error.

Which Ubuntu and Debian releases should I use?

Ubuntu’s download page lists 26.04.1 LTS as the current long-term release, with 26.10 also available, and Debian 13 “trixie” at point release 13.8 is the current stable Debian. Older releases may run Cursor, but the build’s glibc and library needs decide that, so run the doctor script and read its output.

How do I update Cursor on Linux?

With the APT or RPM route, update through apt or dnf like any other package. With the AppImage, download the new file and run the install-appimage command again, keeping a copy of the previous file for rollback. Do not run both install types side by side.

Where does Cursor keep my settings and rules?

User settings sit in ~/.config/Cursor and extensions and runtime arguments under ~/.cursor. Project rules live inside each repository as .mdc files in .cursor/rules, so they travel with your code and survive a reinstall.

Is it safe to run the doctor script?

The default doctor command only reads system state and prints results. The install-appimage command writes inside your home directory and never uses sudo. The only root action in the whole walkthrough, the AppArmor profile, is a separate command you run yourself after reading the profile text.

── more in #developer-tools 4 stories · sorted by recency
── more on @cursor 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/cursor-ide-download-…] indexed:0 read:37min 2026-12-01 · —