Mach-o file, but is an incompatible architecture

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

cursor-agent command throws error

/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9589
throw new Error(‘node-loader:\n’ + error);
^

Error: node-loader:
Error: dlopen(/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node, 0x0001): tried: ‘/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64h’ or ‘x86_64’)), ‘/System/Volumes/Preboot/Cryptexes/OS/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node’ (no such file), ‘/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64h’ or ‘x86_64’))
at ../../node_modules/.pnpm/@[email protected]/node_modules/@lydell/node-pty-darwin-arm64/pty.node (/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9589:9)
at webpack_require (/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/unixTerminal.js (/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9918:11)
at webpack_require (/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/index.js (/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9664:21)
at webpack_require (/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
at ./src/bridge/bridge.ts (/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:386230:16)
at webpack_require (/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
at /Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:432240:75
at webpack_require.a (/Users/johanvargas/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435698:13)

Node.js v24.5.0 (not the one that is used system wide)

my machine:

node version v22.17.0

Darwin MacBook-Pro-151.local 24.6.0 Darwin Kernel Version 24.6.0: Mon Dec 8 02:35:53 PST 2025; root:xnu-11417.140.69.705.5~1/RELEASE_X86_64 x86_64

2.3 GHz 8-Core Intel Core i9

Steps to Reproduce

I was working with the cli, exited and trying to start a new agent later on encountered the error.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44 (Universal)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin x64 24.6.0

Additional Information

Was working fine until I tried to start a new agent as I normally do. I tried to delete ./local/share/cursor-agent and reinstall in both bash and zsh with the same error outcome.

the curl downloads the darwin/x64/ version successfully.

Does this stop you from using Cursor

No - Cursor works, but with this issue

2 Likes

Hey, thanks for the report. I can see the issue: the cursor-agent installer is downloading the ARM64 version of pty.node on your Intel Mac (x86_64), which causes an architecture mismatch.

This is a bug in the latest installer build (2026.01.02-80e4d9b). I’ll pass this to the team so we can fix it ASAP.

Workaround for now:

Try fully removing cursor-agent and its binaries:

rm -rf ~/.local/share/cursor-agent
rm -rf ~/.local/bin/cursor-agent

Then reinstall:

curl https://cursor.com/install -fsS | bash

If it still happens, please share the output of:

uname -m
arch

That’ll help us understand why the installer is detecting the wrong architecture on your system.

# tom @ MacBook-Pro in ~ [16:53:48]
$ cursor-agent
/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9589
  throw new Error('node-loader:\n' + error);
        ^

Error: node-loader:
Error: dlopen(/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node, 0x0001): tried: '/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node' (no such file), '/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64'))
    at ../../node_modules/.pnpm/@[email protected]/node_modules/@lydell/node-pty-darwin-arm64/pty.node (/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9589:9)
    at __webpack_require__ (/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
    at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/unixTerminal.js (/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9918:11)
    at __webpack_require__ (/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
    at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/index.js (/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9664:21)
    at __webpack_require__ (/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
    at ./src/bridge/bridge.ts (/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:386230:16)
    at __webpack_require__ (/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
    at /Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:432240:75
    at __webpack_require__.a (/Users/tom/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435698:13)

Node.js v24.5.0
(base)
# tom @ MacBook-Pro in ~ [17:06:16] C:1
$ uname -m
x86_64
(base)
# tom @ MacBook-Pro in ~ [17:07:05]
$ arch
i386
(base)
# tom @ MacBook-Pro in ~ [17:07:09]
$
2 Likes

I have the same problem. I mistakenly updated my cursor cli today with cursor-agent update and then it just broke.

After cleaning up and re-installing like @deanrie said, I am getting the same problem.

cursor-agent
/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9589
  throw new Error('node-loader:\n' + error);
        ^

Error: node-loader:
Error: dlopen(/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node, 0x0001): tried: '/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node' (no such file), '/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
    at ../../node_modules/.pnpm/@[email protected]/node_modules/@lydell/node-pty-darwin-arm64/pty.node (/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9589:9)
    at __webpack_require__ (/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
    at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/unixTerminal.js (/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9918:11)
    at __webpack_require__ (/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
    at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/index.js (/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9664:21)
    at __webpack_require__ (/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
    at ./src/bridge/bridge.ts (/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:386230:16)
    at __webpack_require__ (/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
    at /Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:432240:75
    at __webpack_require__.a (/Users/tledakis/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435698:13)

Node.js v24.5.0
❯ uname -m
arm64
❯ arch
arm64

I have an m1 macbook air

1 Like

@deanrie Not sure if helps for my particular case (old m1 macbook with lots of patched versions of node etc over the years). Also running heavily rosetta for lots of things. My system’s node is x86_64

I tried to debug the install script myself in cursor, and I’ll attach the agent output here. Hope it helps with figuring out the problem.

For reference, the old 2025.08.08-f57cb59 cursor-agent version worked perfectly. After today’s cursor-agent update though I could never go back to it even if I symlinked to that. The agent auto changes the symlink after the 1st run to the more recent version.

forum does not allow .md uploads so renamed it to .txt :stuck_out_tongue:

cursor_cursor_agent_wrong_binary_archit.md.txt (47.4 KB)

Thanks everyone for the extra info! This is indeed a bug in the installer build 2026.01.02-80e4d9b. It detects the architecture incorrectly and downloads the wrong pty.node binary.

The team is already working on a fix (the bug is being tracked internally).

A simple temporary workaround is to delete the broken version, and cursor-agent will automatically use the previous working one:

rm -rf ~/.local/share/cursor-agent/versions/2026.01.02-80e4d9b

After that, cursor-agent should work again with the older version.

@tledakis, thanks for the detailed log! Your setup with M1 + Rosetta + x86_64 Node is especially helpful for the team.

1 Like
# tom @ MacBook-Pro in ~ [21:31:55] C:1
$ rm -rf ~/.local/share/cursor-agent/versions/2026.01.02-80e4d9b

(base)
# tom @ MacBook-Pro in ~ [21:32:15]
$ cursor-agent
zsh: command not found: cursor-agent
(base)
# tom @ MacBook-Pro in ~ [21:32:18] C:127
$ ls -alh ~/.local/share/cursor-agent/versions/
total 0
drwxr-xr-x  2 tom  staff    64B  1月  3 21:32 .
drwxr-xr-x  3 tom  staff    96B  1月  3 21:05 ..
(base)
# tom @ MacBook-Pro in ~ [21:32:29]
$
If there are no other versions available locally, how can I revert to a working version? Is there a download link?

https://downloads.cursor.com/lab/2025.12.17-996666f/darwin/x64/agent-cli-package.tar.gz

Hello again, the error is still happening. I rm those two paths and reinstalled with no change.

output requested:

x86_64
i386

thanks for your help

I can use it now.
Execute the following command in the project directory:
~/.local/share/cursor-agent/versions/2025.12.17-996666f/cursor-agent

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

The official download package for macOS x64 seems to contain binaries built for arm64 (Apple Silicon). This causes the agent to crash immediately on Intel Macs.

Steps to Reproduce

  1. Run the install command on an Intel Mac: curl https://cursor.com/install -fsS | bash
  2. The script detects darwin/x64 correctly.
  3. It downloads the package from the official x64 path:
    https://downloads.cursor.com/lab/2026.01.02-80e4d9b/darwin/x64/agent-cli-package.tar.gz
  4. The agent fails to start with the following error:
    Error: dlopen(…/pty.node, 0x0001): … (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64h’ or ‘x86_64’))

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44 (Universal)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z (1 wk ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin x64 22.6.0

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

When running cursor-agent --version on Intel-based Macs, the command fails with an architecture incompatibility error. The error indicates that the pty.node native module was compiled for ARM64 architecture, but the system requires x86_64.

Expected behavior: The command should display the version number and run successfully

Actual behavior: Throws an architecture mismatch error and exits

Steps to Reproduce

Install Cursor on an Intel-based Mac
Run command: cursor-agent --version
Observe architecture incompatibility error

Expected Behavior

cursor-agent incorrectly attempts to load arm64 architecture pty.node file on Intel Macs

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Mac Model: Intel chip (x86_64)
Node.js Version: v24.5.0
cursor-agent Version: 2026.01.02-80e4d9b
Error Module: @lydell/node-pty-darwin-arm64
Reproducibility: 100% reproducible on Intel Macs, no issues on M-series chips

For AI issues: which model did you use?

auto

Does this stop you from using Cursor

Yes - Cursor is unusable

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

Title

Cursor Agent darwin/x64 package ships arm64 pty.node, crashes on Intel Macs with “incompatible architecture”

Report content

Summary
On an Intel Mac (x86_64), installing the latest Cursor Agent via curl https://cursor.com/install -fsS | bash installs the darwin/x64 package, but the bundled native module pty.node is built for arm64. This causes Cursor Agent to crash at startup with a dlopen incompatible architecture error.

Environment

  • OS: macOS (Darwin), Intel Mac
  • uname -m: x86_64
  • Node.js: v24.5.0
  • node -p "process.arch": x64
  • Cursor Agent version installed by script: 2026.01.02-80e4d9b

Additional confirmation
The installer downloads:

  • https://downloads.cursor.com/lab/2026.01.02-80e4d9b/darwin/x64/agent-cli-package.tar.gz

When extracting this tarball, the native modules show mixed architectures:

  • dist-package/pty.node: Mach-O 64-bit bundle arm64 (wrong for darwin/x64)
  • dist-package/merkle-tree-napi.darwin-x64.node: x86_64 (correct)

So the darwin/x64 artifact appears to be incorrectly packaged (at least pty.node).

Temporary workaround
Replace the bundled pty.node with the x86_64 build from @lydell/[email protected], then Cursor Agent runs normally. (This suggests the issue is isolated to the packaged pty.node in the released tarball.)

Request
Please republish/fix the darwin/x64 Cursor Agent package for version 2026.01.02-80e4d9b (or release a new version) ensuring pty.node is built for and shipped as x86_64 in the darwin/x64 artifact.

Steps to Reproduce

Steps to reproduce

  1. On an Intel Mac, run:
    curl -fsS https://cursor.com/install | bash
    
  2. Run:
    cursor-agent
    

Expected behavior
cursor-agent starts normally on Intel Macs.

Actual behavior
cursor-agent crashes immediately with an error like:

  • dlopen(.../pty.node): mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')
  • Stack trace references @lydell/node-pty-darwin-arm64 / pty.node.

Expected Behavior

Actual behavior
cursor-agent crashes immediately with an error like:

  • dlopen(.../pty.node): mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')
  • Stack trace references @lydell/node-pty-darwin-arm64 / pty.node.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Cursor Cli Version: 2026.01.02-80e4d9b

Does this stop you from using Cursor

Yes - Cursor is unusable

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

I am using an Intel-based Mac (x86_64). After installing the latest Cursor CLI and running the agent command, it fails with a dlopen architecture mismatch error. The CLI seems to have downloaded the arm64 version of pty.node, but my system requires x86_64.

Steps to Reproduce

Download cursor cli on a intel chip mac

Expected Behavior

hr@C02FT5X7MD6M ai-code-review % agent
/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9589
throw new Error(‘node-loader:\n’ + error);
^

Error: node-loader:
Error: dlopen(/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node, 0x0001): tried: ‘/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64h’ or ‘x86_64’)), ‘/System/Volumes/Preboot/Cryptexes/OS/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node’ (no such file), ‘/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/pty.node’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64h’ or ‘x86_64’))
at ../../node_modules/.pnpm/@[email protected]/node_modules/@lydell/node-pty-darwin-arm64/pty.node (/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9589:9)
at webpack_require (/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/unixTerminal.js (/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9918:11)
at webpack_require (/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/index.js (/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:9664:21)
at webpack_require (/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
at ./src/bridge/bridge.ts (/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:386230:16)
at webpack_require (/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435632:42)
at /Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:432240:75
at webpack_require.a (/Users/hr/.local/share/cursor-agent/versions/2026.01.02-80e4d9b/index.js:435698:13)

Node.js v24.5.0

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44 (Universal)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin x64 25.1.0

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

I would say it’s a big issue, so I don’t quite understand it’s not yet fixed. Please prioritize it.

2 Likes

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

Starting today (2026.01.09), cursor-agent stopped working on my mac with the error below.

The error persists after installing from scratch.

The installer output says:

Detected darwin/x64

But there seems to be an arm64 binary in the distribution - pty.node.

The cursor IDE still works for me.
I asked it about this error (model: claude-4.5-opus-high) and this is the reply (abbreviated):

Looking at this error, the problem is an architecture mismatch. Let me break it down:
The Issue
The error message says:
mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64h’ or ‘x86_64’)
This means:
The pty.node binary in the new cursor-agent version (2026.01.09-6d4aaf8) is compiled for ARM64 (Apple Silicon)
But the process trying to load it is running in x86_64 mode (Intel/Rosetta)
Why It Worked Yesterday
Yesterday you were likely using an older version of cursor-agent. Today, a new version (2026.01.09-6d4aaf8) was auto-updated, and there’s a mismatch between the architecture of the agent binary and how your Cursor app is running.

Next Steps

If you intentionally need Cursor to run under Rosetta for some reason, then the cursor-agent binaries need to match (x86_64). In that case, this might be a bug in the cursor-agent distribution that should be reported to the Cursor team.

Full error:

avners@avners03-mac ~ % cursor-agent --version > ~/ai/error.log
/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:9589
throw new Error(‘node-loader:\n’ + error);
^

Error: node-loader:
Error: dlopen(/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/pty.node, 0x0001): tried: ‘/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/pty.node’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64h’ or ‘x86_64’)), ‘/System/Volumes/Preboot/Cryptexes/OS/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/pty.node’ (no such file), ‘/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/pty.node’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64h’ or ‘x86_64’))
at ../../node_modules/.pnpm/@[email protected]/node_modules/@lydell/node-pty-darwin-arm64/pty.node (/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:9589:9)
at webpack_require (/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:529596:42)
at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/unixTerminal.js (/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:9918:11)
at webpack_require (/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:529596:42)
at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/index.js (/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:9664:21)
at webpack_require (/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:529596:42)
at ./src/bridge/bridge.ts (/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:451312:16)
at webpack_require (/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:529596:42)
at /Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:497717:75
at webpack_require.a (/Users/avners/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:529662:13)

Node.js v24.5.0

Steps to Reproduce

  1. Install cursor-agent on mac with an intel processor
  2. Run the command cursor-agent --version

Expected Behavior

curosr-agent should print its version

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

cursor-agent 2026.01.09-6d4aaf8

Does this stop you from using Cursor

Yes - Cursor is unusable

still not working!

curl -fsS https://cursor.com/install | bash

Cursor Agent Installer

✓ Detected darwin/x64
✓ Package downloaded and extracted
✓ Package installed successfully
✓ Bin directory ready
✓ Symlink created

✨ Installation Complete!

Start using Cursor Agent:
agent

Happy coding! 🚀\`\```

agent
/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:9589
  throw new Error('node-loader:\n' + error);
        ^

Error: node-loader:
Error: dlopen(/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/pty.node, 0x0001): tried: '/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/pty.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/pty.node' (no such file), '/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/pty.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64'))
    at ../../node_modules/.pnpm/@[email protected]/node_modules/@lydell/node-pty-darwin-arm64/pty.node (/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:9589:9)
    at __webpack_require__ (/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:529596:42)
    at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/unixTerminal.js (/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:9918:11)
    at __webpack_require__ (/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:529596:42)
    at ../../node_modules/.pnpm/@[email protected]_patch_hash=8cc7c6b3b59e47c0436b0f2bbb89cec1ced0f8ac0beadc41a2d07016bef0ea46/node_modules/@lydell/node-pty/index.js (/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:9664:21)
    at __webpack_require__ (/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:529596:42)
    at ./src/bridge/bridge.ts (/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:451312:16)
    at __webpack_require__ (/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:529596:42)
    at /Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:497717:75
    at __webpack_require__.a (/Users/dupu/.local/share/cursor-agent/versions/2026.01.09-6d4aaf8/index.js:529662:13)

Node.js v24.5.0 

We’ve pushed a fix for cross-platform builds, can you try to install again?


curl -fsS https://cursor.com/install | bash
3 Likes

Thanks! it is working for me now.

1 Like