Package Details: cursor-bin 0.49.6-1

Git Clone URL: https://aur.archlinux.org/cursor-bin.git (read-only, click to copy)
Package Base: cursor-bin
Description: Cursor App - AI-first coding environment
Upstream URL: https://www.cursor.com/
Licenses: custom:proprietary
Submitter: g.schulz
Maintainer: g.schulz
Last Packager: g.schulz
Votes: 47
Popularity: 11.70
First Submitted: 2024-06-09 14:27 (UTC)
Last Updated: 2025-04-25 18:08 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 14 Next › Last »

kolcon commented on 2025-03-08 11:15 (UTC)

$ cursor Trace/breakpoint trap (core dumped)

vitaliikuzhdin commented on 2025-03-08 10:54 (UTC)

@g.schulz, you could use this API: https://www.cursor.com/api/download?platform=linux-x64&releaseTrack=latest

g.schulz commented on 2025-03-08 09:32 (UTC) (edited on 2025-03-08 09:38 (UTC) by g.schulz)

The automatic updates of the PKGBUILD are back to working again, but the situation is less than ideal. The problem is that Cursor have changed their distribution method. They publish their releases on S3 now, before they were using todesktop.com. Currently I infer the most version download link from this api: https://api2.cursor.sh/updates/api/update/darwin-x64/cursor/0.0.0/ As you may notice this is for the macos version and not linux (source: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/c/cursor.rb). The reason is simply that I do not know the api endpoint for getting the linux version (I tried the most obvious variants). This is a terrible workaround, but is the best I can do right now and may break any time the releases for macos and linux get out of sync for any reason.

If anyone can figure out a reliable check for the most recent cursor release for linux I will be happy to integrate that.

Btw, getting the most recent release via their homepage is not a solution. They do staggered releases so this version will be different for everyone downloading from there and is not a reliable source to query for the most recent release.

ardasevinc commented on 2025-03-07 15:47 (UTC)

@s.pantaleev I've been using this as an alias with zsh. It works fine. Just modified it with grok to handle conversion to absolute paths.

function cursor {
  XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}

  # Allow users to override command-line options
  if [[ -f $XDG_CONFIG_HOME/cursor-flags.conf ]]; then
    CURSOR_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/cursor-flags.conf | tr '\n' ' ')"
  fi

  # Process arguments to convert paths to absolute paths
  processed_args=()
  for arg in "$@"; do
    if [[ -e "$arg" ]]; then
      processed_args+=("$(realpath "$arg")")
    else
      processed_args+=("$arg")
    fi
  done

  # Launch Cursor in the background, fully detached
  (nohup /opt/cursor-bin/cursor-bin.AppImage "${processed_args[@]}" $CURSOR_USER_FLAGS < /dev/null > /dev/null 2>&1 &)
}

s.pantaleev commented on 2025-03-07 08:25 (UTC)

Since the new update (0.46.8-1), cursor . no longer does the right thing. It seems to open /tmp/.mount_cursorn3xOwz/usr.

A workaround is to use cursor $(pwd).


It should be noted that the cursor package has always had more inconvenient behavior compared to vscode/codium when invoked from the command-line.

These other packages, when invoked with something like codium /path, open the directory you pass and go in the background, so you can use your CLI for other things or close it.

Cursor, when invoked with cursor /path, runs in the foreground and must not be disturbed.

It'd be great if this can be improved!

rmorgans commented on 2025-03-07 01:36 (UTC)

https://github.com/supersensory-technologies/cursor-bin/tree/0.46.10 had problems with python - updating to a new version

g.schulz commented on 2025-03-06 17:43 (UTC)

@devops69 It is 512x512, is that too small?

g.schulz commented on 2025-03-06 17:41 (UTC)

I am sorry about the multiple bumped pkgrel, I should have checked better in the dev environment.

g.schulz commented on 2025-03-06 16:24 (UTC) (edited on 2025-03-06 16:25 (UTC) by g.schulz)

@eriknelson Thank you for the information. I have updated the PKGBUILD build scripts to use this new location. This must have been a recent change. On their homepage they have also removed any reference to todesktop.com. Thank you for noticing.

eriknelson commented on 2025-03-06 14:30 (UTC) (edited on 2025-03-06 14:30 (UTC) by eriknelson)

I'm not seeing this "todesktop" address; I pulled it directly from S3, this will fetch latest (0.46.9)

diff --git a/PKGBUILD b/PKGBUILD
index afb462d..8c42755 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Your Name <your.email@example.com>

 pkgname=cursor-bin
-pkgver=0.45.14
+pkgver=0.46.9
 pkgrel=1
 pkgdesc="Cursor App - AI-first coding environment"
 arch=('x86_64')
@@ -10,9 +10,9 @@ license=('custom:Proprietary')  # Replace with the correct license if known
 depends=('fuse2' 'gtk3')
 options=(!strip)
 _appimage="${pkgname}-${pkgver}.AppImage"
-source_x86_64=("${_appimage}::https://download.todesktop.com/230313mzl4w4u92/cursor-0.45.14-build-250219jnihavxsz-x86_64.AppImage" "cursor.png" "${pkgname}.desktop.in" "${pkgname}.sh")
+source_x86_64=("${_appimage}::https://anysphere-binaries.s3.us-east-1.amazonaws.com/production/client/linux/x64/appimage/Cursor-0.46.9-3395357a4ee2975d5d03595e7607ee84e3db0f2c.deb.glibc2.25-x86_64.AppImage" "cursor.png" "${pkgname}.desktop.in" "${pkgname}.sh")
 noextract=("${_appimage}")
-sha512sums_x86_64=('0529b3a117041ae41770518954142a8164cff4ed938a29a515b3d5bf0fb5491ae2869805d53a31ab56973f95460dd8c1af83eccad73f9584359013f4bf1409ff'
+sha512sums_x86_64=('a11420f98ff74c7d4c6f5afca1b0df64ead48ec21d34b72ae905488ffb3728eee252b02f0e09490fa4ec05f5f88464a2a90458fd5ab5a127860463ea995b7a94'
                    'f948c5718c2df7fe2cae0cbcd95fd3010ecabe77c699209d4af5438215daecd74b08e03d18d07a26112bcc5a80958105fda724768394c838d08465fce5f473e7'
                    'e7e355524db7ddca2e02351f5af6ade791646b42434400f03f84e1068a43aadaa469ba6d5acbc16e6a3a7e52be4807b498585bea3f566e19b66414f6c3095154'
                    'ec3fa93a7df3ac97720d57e684f8745e3e34f39d9976163ea0001147961ca4caeb369de9d1e80c877bb417a0f1afa49547d154dde153be7fe6615092894cff47')

Perhaps they have updated their coordinate for the bin, but it looks like you should be able to parameterize the version in this URL unless I'm missing something.