opencode CLI hangs on macOS 15 (Apple Silicon) – daemon fails to start, empty ~/.opencode/package.json #6274

Open
opened 2026-02-16 18:02:33 -05:00 by yindo · 0 comments
Owner

Originally created by @shanjw21 on GitHub (Jan 15, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

TL;DR

On macOS 15.7.x (Apple Silicon, arm64), opencode CLI hangs indefinitely when starting the daemon.

opencode --version works, but any command requiring the daemon blocks forever (opencode, opencode auth login, opencode --print-logs).

No daemon process is ever started (ps aux | grep opencode shows nothing while hanging).

Initialization stops early: ~/.opencode/package.json is created but contains only {}.

No logs or crash reports are produced, even with OPENCODE_DEBUG=1.

Environment

Device: MacBook Air (M1, Apple Silicon)

Architecture: arm64

OS: macOS 15.7.3 (Sequoia)

Shell: zsh / bash

opencode version: 1.1.21 (installed via official install script)

curl -fsSL https://opencode.ai/install | bash
opencode --version # works
opencode # hangs forever

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @shanjw21 on GitHub (Jan 15, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description TL;DR On macOS 15.7.x (Apple Silicon, arm64), opencode CLI hangs indefinitely when starting the daemon. opencode --version works, but any command requiring the daemon blocks forever (opencode, opencode auth login, opencode --print-logs). No daemon process is ever started (ps aux | grep opencode shows nothing while hanging). Initialization stops early: ~/.opencode/package.json is created but contains only {}. No logs or crash reports are produced, even with OPENCODE_DEBUG=1. Environment Device: MacBook Air (M1, Apple Silicon) Architecture: arm64 OS: macOS 15.7.3 (Sequoia) Shell: zsh / bash opencode version: 1.1.21 (installed via official install script) curl -fsSL https://opencode.ai/install | bash opencode --version # works opencode # hangs forever ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bugperf labels 2026-02-16 18:02:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6274