# Mach-o file, but is an incompatible architecture

**URL:** <https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857>\
**Category:** Bug Reports\
**Tags:** cli\
**Created:** [January 3, 2026, 5:52am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857 "2026-01-03T05:52:52Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![johanvargas](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/johanvargas/32/93198_2.png) [@johanvargas](https://forum.cursor.com/u/johanvargas)\
**Post date:** [January 3, 2026, 5:52am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/1 "2026-01-03T05:52:52Z")

</div>

### 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/@lydell+node-pty-darwin-arm64@1.1.0/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/@lydell+node-pty@1.1.0\_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/@lydell+node-pty@1.1.0\_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

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 3, 2026, 7:46am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/2 "2026-01-03T07:46:36Z")

</div>

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:

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

```

Then reinstall:

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

```

If it still happens, please share the output of:

```bash
uname -m
arch

```

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

---

<div class="post-metadata">

**Author:** ![Zhang\_Su](https://avatars.discourse-cdn.com/v4/letter/z/f05b48/32.png) [@Zhang\_Su](https://forum.cursor.com/u/Zhang_Su)\
**Post date:** [January 3, 2026, 9:09am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/3 "2026-01-03T09:09:27Z")

</div>

```auto
# 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/@lydell+node-pty-darwin-arm64@1.1.0/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/@lydell+node-pty@1.1.0_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/@lydell+node-pty@1.1.0_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]
$

```

---

<div class="post-metadata">

**Author:** ![tledakis](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tledakis/32/93213_2.png) [@tledakis](https://forum.cursor.com/u/tledakis)\
**Post date:** [January 3, 2026, 11:04am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/4 "2026-01-03T11:04:37Z")

</div>

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.

```javascript
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/@lydell+node-pty-darwin-arm64@1.1.0/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/@lydell+node-pty@1.1.0_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/@lydell+node-pty@1.1.0_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

---

<div class="post-metadata">

**Author:** ![tledakis](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tledakis/32/93213_2.png) [@tledakis](https://forum.cursor.com/u/tledakis)\
**Post date:** [January 3, 2026, 11:26am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/6 "2026-01-03T11:26:08Z")

</div>

@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` 😛

[cursor\_cursor\_agent\_wrong\_binary\_archit.md.txt](https://forum.cursor.com/uploads/short-url/xg6yz48FPzL27rJTonBunB3EORa.txt) (47.4 KB)

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 3, 2026, 11:59am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/7 "2026-01-03T11:59:07Z")

</div>

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:

```bash
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.

---

<div class="post-metadata">

**Author:** ![Zhang\_Su](https://avatars.discourse-cdn.com/v4/letter/z/f05b48/32.png) [@Zhang\_Su](https://forum.cursor.com/u/Zhang_Su)\
**Post date:** [January 3, 2026, 1:34pm UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/8 "2026-01-03T13:34:24Z")

</div>

```auto
# 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]
$

```

```auto
If there are no other versions available locally, how can I revert to a working version? Is there a download link?

```

```auto

```

---

<div class="post-metadata">

**Author:** ![Zhang\_Su](https://avatars.discourse-cdn.com/v4/letter/z/f05b48/32.png) [@Zhang\_Su](https://forum.cursor.com/u/Zhang_Su)\
**Post date:** [January 3, 2026, 1:41pm UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/9 "2026-01-03T13:41:29Z")

</div>

> [@deanrie](#):
>
> After

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

---

<div class="post-metadata">

**Author:** ![johanvargas](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/johanvargas/32/93198_2.png) [@johanvargas](https://forum.cursor.com/u/johanvargas)\
**Post date:** [January 3, 2026, 11:19pm UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/10 "2026-01-03T23:19:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yinhou\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/43a26b/32.png) [@yinhou\_Liu](https://forum.cursor.com/u/yinhou_Liu)\
**Post date:** [January 4, 2026, 3:31am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/11 "2026-01-04T03:31:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Bonnie\_Shen](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@Bonnie\_Shen](https://forum.cursor.com/u/Bonnie_Shen)\
**Post date:** [January 4, 2026, 10:38am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/12 "2026-01-04T10:38:58Z")

</div>

### 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

 ![PixPin_2026-01-04_18-38-30.png](https://us1.discourse-cdn.com/cursor1/original/3X/b/d/bd5cdf5c2ab0abdb73f9f92aa2493873c9c9ad7b.jpeg)

### 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

---

<div class="post-metadata">

**Author:** ![c\_b1](https://avatars.discourse-cdn.com/v4/letter/c/ed655f/32.png) [@c\_b1](https://forum.cursor.com/u/c_b1)\
**Post date:** [January 5, 2026, 9:47am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/13 "2026-01-05T09:47:16Z")

</div>

### 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

 ![aa.png](https://us1.discourse-cdn.com/cursor1/original/3X/5/e/5ed16d01c2f75a4ee3042e810aeca4b3fedc0778.png)

### 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

---

<div class="post-metadata">

**Author:** ![Long\_Junyu](https://avatars.discourse-cdn.com/v4/letter/l/5fc32e/32.png) [@Long\_Junyu](https://forum.cursor.com/u/Long_Junyu)\
**Post date:** [January 5, 2026, 12:16pm UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/14 "2026-01-05T12:16:31Z")

</div>

### 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/node-pty-darwin-x64@1.1.0`, 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:

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

```

2. Run:

```bash
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

---

<div class="post-metadata">

**Author:** ![hrxia](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@hrxia](https://forum.cursor.com/u/hrxia)\
**Post date:** [January 6, 2026, 7:09am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/15 "2026-01-06T07:09:52Z")

</div>

### 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/@lydell+node-pty-darwin-arm64@1.1.0/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/@lydell+node-pty@1.1.0\_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/@lydell+node-pty@1.1.0\_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

---

<div class="post-metadata">

**Author:** ![ceez](https://avatars.discourse-cdn.com/v4/letter/c/6a8cbe/32.png) [@ceez](https://forum.cursor.com/u/ceez)\
**Post date:** [January 6, 2026, 5:27pm UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/16 "2026-01-06T17:27:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Avner\_Singerman](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@Avner\_Singerman](https://forum.cursor.com/u/Avner_Singerman)\
**Post date:** [January 9, 2026, 7:38am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/17 "2026-01-09T07:38:09Z")

</div>

### 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/@lydell+node-pty-darwin-arm64@1.1.0/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/@lydell+node-pty@1.1.0\_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/@lydell+node-pty@1.1.0\_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

---

<div class="post-metadata">

**Author:** ![Pu\_Du](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@Pu\_Du](https://forum.cursor.com/u/Pu_Du)\
**Post date:** [January 9, 2026, 9:09am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/19 "2026-01-09T09:09:18Z")

</div>

still not working!

```auto
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! 🚀\`\``￼`

```

```auto
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/@lydell+node-pty-darwin-arm64@1.1.0/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/@lydell+node-pty@1.1.0_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/@lydell+node-pty@1.1.0_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 

```

---

<div class="post-metadata">

**Author:** ![mshwery](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mshwery](https://forum.cursor.com/u/mshwery)\
**Post date:** [January 9, 2026, 8:03pm UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/20 "2026-01-09T20:03:42Z")

</div>

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

```auto

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

```

---

<div class="post-metadata">

**Author:** ![Avner\_Singerman](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@Avner\_Singerman](https://forum.cursor.com/u/Avner_Singerman)\
**Post date:** [January 10, 2026, 5:26am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/21 "2026-01-10T05:26:26Z")

</div>

Thanks! it is working for me now.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [February 1, 2026, 5:26am UTC](https://forum.cursor.com/t/mach-o-file-but-is-an-incompatible-architecture/147857/22 "2026-02-01T05:26:27Z")

</div>

Closed on February 1, 2026, 5:26am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
