You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
Error: agent coder not found when running opencode CLI #298
I had this issue after installing via Homebrew. I uninstalled with brew uninstall opencode, then reinstalled with bun and had no problems running opencode auth login. Then I uninstalled and reinstalled with Homebrew again, and no issues! Not sure what the issue is.
Uninstall open code if you did with brew
run curl -fsSL https://opencode.ai/install | bash (from the install docs)
(source ~/.zshrc or where ever you have your $PATH)
(you get a message like Successfully added opencode to $PATH in /Users/<myuser>/.zshrc you can check from there what to source)
Steps to Reproduce:
Installed using the following command:
curl -fsSL https://raw.githubusercontent.com/opencode-ai/opencode/refs/heads/main/install | bash
Tried to run:
opencode
Expected Behavior:
opencode should launch in interactive mode.
Actual Behavior:
CLI returns:
Error: agent coder not found