Skip to content

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

Closed

Description

@shanjw21

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

Activity

  1. added
    perfIndicates a performance issue or need for optimization
    on Jan 15, 2026
  2. github-actions commented on Jan 15, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of an existing issue. Please check:

    Feel free to ignore if your specific case differs or if this addresses a different macOS 15 initialization problem.

  3. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingperfIndicates a performance issue or need for optimization

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions