Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Cursor CLI PKGBUILD

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.

Build without installing

cd /home/pun/MEGA/cursor-cli-pkgbuild
makepkg -s

You can inspect the resulting package before installing it:

bsdtar -tf cursor-cli-*.pkg.tar.zst

Install explicitly when ready:

sudo pacman -U cursor-cli-*.pkg.tar.zst

This installs the self-contained payload under /opt/cursor-agent and exposes both /usr/bin/agent and /usr/bin/cursor-agent.

Update to Cursor's latest release

./update.sh
makepkg -s

update.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-agent

This recipe currently targets x86_64 Arch Linux only.

About

pacman package for the official Cursor Agent CLI on Arch Linux, with checksum-pinned releases and the built-in auto-updater disabled

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages