Search Criteria
Package Details: cursor-cli 1:2025.10.02.1.bd871ac-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/cursor-cli.git (read-only, click to copy) |
---|---|
Package Base: | cursor-cli |
Description: | Cursor Agent CLI - AI-powered code assistant |
Upstream URL: | https://cursor.com |
Keywords: | cursor-agent |
Licenses: | LicenseRef-Cursor |
Submitter: | cg505 |
Maintainer: | cg505 |
Last Packager: | cg505 |
Votes: | 2 |
Popularity: | 1.29 |
First Submitted: | 2025-08-08 01:20 (UTC) |
Last Updated: | 2025-10-03 01:26 (UTC) |
Dependencies (5)
- bash (bash-devel-gitAUR, bash-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-eacAUR)
- nodejs (nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogenAUR, nodejs-lts-iron, nodejs-lts-jod)
- ripgrep (ripgrep-gitAUR)
Latest Comments
acgtyrant commented on 2025-10-14 03:13 (UTC) (edited on 2025-10-14 03:21 (UTC) by acgtyrant)
Is downloads.cursor.com reliable? The official download link is something like https://api2.cursor.sh/updates/download/golden/linux-x64-rpm/cursor/1.7
EDIT: Yes, I found out that the official
curl https://cursor.com/install
contains this domain.exponential commented on 2025-10-03 17:47 (UTC)
indeed this blocks it
just needs adding a bit of extra in the launcher.
i'm blocking versions, because cursor-agent might be used for user data later.
cg505 commented on 2025-10-03 17:24 (UTC)
oh wtf. I may delete this package in that case
exponential commented on 2025-10-03 16:04 (UTC)
crap...
it auto updates with each start and index.js is a 17MB obfuscated mess. No easy fix. Even AI will have a hard time.
check .local/share/cursor-agent , .local/bin and which cursor-agent
i turned .local/share/cursor-agent/versions noexec, maybe that will block it. Not tested yet, i'm already on the last version.
exponential commented on 2025-10-03 13:59 (UTC)
not elegant, but it does the job. lol I thought it was a library.
cg505 commented on 2025-10-03 01:27 (UTC)
Replaced node and rg binaries with symlinks to the system versions.
exponential commented on 2025-10-03 01:08 (UTC) (edited on 2025-10-03 01:10 (UTC) by exponential)
i'm not actually using arch. i'm using debian with a makepkg clone. They might be glitches.
i simply cp everything except the bash script and node
change the depends to use node
and i'm using this launcher
or you can just sed their bash script
I don't know how brittle this would be. keep the old stuff commented out to avoid frustration if it's too brittle. I'm not using this since very long. And since it's very new, they might make lots of changes.
They literally just dumped the node executable in their release. It's nothing complicated.
i haven't checked how to force it to be perfectly monotonic(and now i understand the weird stuff you were doing). If the recent npm fiasco should have taught you something, is not to be obsessively bleeding edge.
update scripts are very useful for these type of apps that update very frequently. I'd rather use that then follow the rhythm of the packager or even upstream. I've heard some very sneeky tricks with scams/malware to hide them selves, and you should be careful when downloading from the AUR.
cg505 commented on 2025-10-03 00:10 (UTC)
I avoided using their versioning because it is not guaranteed to be increasing if there are multiple releases in the same day.
The version update script is for maintenance and is intentionally not part of the package sources. It is not run during the build script, it's just used by me to easily update the pkgver. Happy to exclude it entirely from the git repo if that would be preferred. Not against simplification but your script won't work well for me as is.
Also, agree on using node from the repo, just haven't had a chance to dig through their binary to figure out what would be needed. If you've checked and a symlink or something would suffice, that's awesome and I'll add it.
exponential commented on 2025-10-03 00:03 (UTC) (edited on 2025-10-03 00:13 (UTC) by exponential)
that update script is hilariously over engineered. It makes auditing harder. 2 months ago there was news of malware on the AUR, it's not totally impossible. I trimmed it down, renamed the upstream version to _pkgver and used pkgver="${_pkgver//-/.}" in the PKGBUILD
also, almost all of upstream is the node executable. I would suggest refactoring to use node from the repo
the proposed script