This packages only Cursor's official CLI archive. It does not run or source
https://cursor.com/install.
The recipe is pinned to 2026.07.20-8cc9c0b with a SHA-256 checksum. Cursor's
built-in auto-updater is disabled so updates stay under pacman control.
cd /home/pun/MEGA/cursor-cli-pkgbuild
makepkg -sYou can inspect the resulting package before installing it:
bsdtar -tf cursor-cli-*.pkg.tar.zstInstall explicitly when ready:
sudo pacman -U cursor-cli-*.pkg.tar.zstThis installs the self-contained payload under /opt/cursor-agent and exposes
both /usr/bin/agent and /usr/bin/cursor-agent.
./update.sh
makepkg -supdate.sh downloads Cursor's installer as text only, extracts the release
URL, downloads the x86_64 archive, validates its layout, and pins its checksum
in PKGBUILD. It never executes the installer or the Cursor binary. It also
removes archives left over from previous pins, keeping only the one referenced
by PKGBUILD.
A PKGBUILD cannot safely be "always latest" at build time: a moving download would defeat checksum verification and reproducibility. The updater provides an explicit refresh step instead. Cursor does not publish a signature for this archive, so authenticity relies on HTTPS; the pinned checksum protects later builds from unnoticed changes.
If Cursor was previously installed with its shell installer, a
~/.local/bin/agent symlink may shadow /usr/bin/agent. Check with:
type -a agent cursor-agentThis recipe currently targets x86_64 Arch Linux only.