I tried installing with both yarn and bash. The result is the same ``` tons@p1 ~/I/d/docker-deployment (ci/add-smoke-test)> opencode --print-logs --log-level DEBUG INFO 2025-09-07T12:45:45 +125ms service=default version=0.6.4 args=["--print-logs","--log-level","DEBUG"] opencode INFO 2025-09-07T12:45:45 +1ms service=project directory=/home/tons/IdeaProjects/dhis2/docker-deployment fromDirectory INFO 2025-09-07T12:45:45 +24ms service=config path=/home/tons/.config/opencode/config.json loading INFO 2025-09-07T12:45:45 +1ms service=config path=/home/tons/.config/opencode/opencode.json loading INFO 2025-09-07T12:45:45 +4ms service=config path=/home/tons/.config/opencode/opencode.jsonc loading INFO 2025-09-07T12:45:45 +4ms service=plugin path=opencode-copilot-auth@0.0.2 loading plugin INFO 2025-09-07T12:45:45 +1ms service=bun pkg=opencode-copilot-auth version=0.0.2 installing package using Bun's default registry resolution INFO 2025-09-07T12:45:45 +0ms service=bun cmd=["/home/tons/.opencode/bin/opencode","add","--force","--exact","--cwd","/home/tons/.cache/opencode","opencode-copilot-auth@0.0.2"] cwd=/home/tons/.cache/opencode running ``` I doubt that it matters but I'm using Fedora. Please let me know if there's any additional information that I should supply.
Activity
github-actions commentedon Sep 7, 2025
This issue might be a duplicate of existing issues. Please check:
bun add [email protected]during startupThe root cause appears to be related to plugin installation during startup, specifically the opencode-copilot-auth plugin failing to install via bun.
Feel free to ignore if none of these address your specific case.
marn-in-prod commentedon Sep 7, 2025
I can also confirm that opencode has started to hang when i start.
opencode --print-logs --log-level DEBUGdoes not return anything for me, just hangs.rekram1-node commentedon Sep 7, 2025
what do yall see if you run:
marn-in-prod commentedon Sep 7, 2025
I uninstalled and installed v 62, then it automatically upgraded and it works now on the latest version. So it's no longer an issue for me
MichaelrMentele commentedon Oct 30, 2025
Installing with brew or curl hangs for me on start with:
Running on mac m2
rekram1-node commentedon Oct 30, 2025
@MichaelrMentele what is the output if u do
opencode run hello --print-logsrenanfranca commentedon Nov 13, 2025
I know it is closed, but I want to help others like me who face that problem even in the latest version v1.0.61.
The solution for me was to delete (or rename) the
buncache folder~/.bun/install/cache.Here is where the bun got stuck after running
opencode run hello --print-logs(thanks @rekram1-node ):Then I ran the same command
opencode run hello --print-logsafter removing the bun cache folder, and it worked 😄:rekram1-node commentedon Nov 13, 2025
thanks for sharing!
512z commentedon Nov 25, 2025
for me the solution is to add either:
this is because bun ignores proxy settings