Please provide a musl-compatible (or static) build of Cursor CLI for Alpine Linux / musl

Hi Cursor team,
Would it be possible to officially support Alpine Linux / musl by shipping a musl-compatible (or preferably static) build of the Cursor CLI (cursor-agent / agent)?

Current situation
Cursor CLI is currently only distributed as a glibc-linked binary.
On Alpine Linux (and other musl-based systems) this results in:

  • Immediate failures or crashes even after installing gcompat / libc6-compat
  • Crashes even when a full glibc + glibc-built libstdc++ + libgcc are installed
  • The included Node binaries also fail to run reliably
    This makes the CLI unusable on Alpine, which is extremely common in containers, CI, development environments, and lightweight servers.

Suggested solution
Please consider providing one of the following:

  1. Preferred: A static binary built on Alpine Linux
    Example flags that work very well for portable x86_64 binaries: -static -s -no-pie A fully static musl binary would run on virtually every Linux distribution without any extra dependencies.
  2. Alternative: A dynamically linked musl build (target x86_64-unknown-linux-musl)

Many other modern CLI tools (including several AI coding agents) already ship static or musl builds for exactly this reason.

Why this matters

  • Alpine is widely used in Docker/Kubernetes, CI pipelines, and minimal developer environments
  • Users currently have to fall back to other tools (e.g. OpenCode) or maintain complex glibc workarounds
  • A static/musl binary would eliminate the entire class of compatibility problems

Would the team be open to adding an official musl or static Linux build in a future release?

Thanks for considering it!

Hey @HansH,

Thanks for the request. Official Alpine/musl support for the CLI is something we’re tracking, and some of the groundwork is already in place :crossed_fingers: