Error: Failed to load native binding for darwin/arm64 (expected: ./merkle-tree-napi.darwin-arm64.node)

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

The home-brew installed cursor-cli fails to be verified by apple

Apple could not verify “merkle-tree-napi.darwin-arm64.node” is free of malware that may harm your Mac or compromise your privacy.

Steps to Reproduce

brew install cursor-cli
cursor-agent

Expected Behavior

The cli launches

Operating System

MacOS

Version Information

matt@Matts-MacBook-Air-4 ~/G/gdansk (main) [1]> brew info cursor-cli
==> cursor-cli :check_mark: (Cursor CLI): 2026.06.04-5fd875e
Command-line agent for Cursor

Installed (on request)
/opt/homebrew/Caskroom/cursor-cli/2026.06.04-5fd875e (167.5MB)
Installed using the internal formulae.brew.sh API on 2026-06-23 at 14:45:20
From: homebrew-cask/Casks/c/cursor-cli.rb at 056cc1f7f0986d2d593e21a8aae3220065deb19a · Homebrew/homebrew-cask · GitHub
==> Requirements
Required: macOS :check_mark:
==> Artifacts
/opt/homebrew/Caskroom/cursor-cli/2026.06.04-5fd875e/dist-package/cursor-agent → cursor-agent (Binary)
==> Analytics
install: 1,399 (30 days), 4,577 (90 days), 13,976 (365 days)

matt@Matts-MacBook-Air-4 ~/G/gdansk (main)> sw_vers
ProductName: macOS
ProductVersion: 26.5.1
BuildVersion: 25F80

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey @mplemay

This is a known issue on our side, and the binary is safe.

A few ways to get unblocked:

  1. Strip the quarantine flag from the Homebrew install, then run cursor-agent again (you only need to do this once per install or update):
xattr -rd com.apple.quarantine /opt/homebrew/Caskroom/cursor-cli/
  1. Allow it manually: after the first blocked run, open System Settings > Privacy & Security, scroll to the Security section, and click Allow Anyway, then re-run cursor-agent.

  2. Reinstall with the official script. A few users have found that piping to zsh avoids the prompt:

curl <https://cursor.com/install> -fsS | zsh

See the CLI installation docs for reference.

We’re aware of this and tracking it on our end. Let me know if any of these unblock you!