MacOS 15.5 Install error version v0.1.173 #445

Closed
opened 2026-02-16 17:26:44 -05:00 by yindo · 5 comments
Owner

Originally created by @elmoyses on GitHub (Jul 2, 2025).

Originally assigned to: @thdxr on GitHub.

Tried to install on MacOS 15.5 using both, with same results.

npm i -g opencode-ai@latest
brew install sst/tap/opencode

Aparenttly both it will install with no error.

When trying to run I receive the following message:

Error: Unexpected error, check log file

ERROR 2025-07-02T18:32:11 +2ms service=default name=Error message=Executable not found in $PATH: "go" fatal
ERROR 2025-07-02T18:32:11 +0ms service=default e=Executable not found in $PATH: "go" rejection

Originally created by @elmoyses on GitHub (Jul 2, 2025). Originally assigned to: @thdxr on GitHub. Tried to install on MacOS 15.5 using both, with same results. npm i -g opencode-ai@latest brew install sst/tap/opencode Aparenttly both it will install with no error. When trying to run I receive the following message: Error: Unexpected error, check log file ERROR 2025-07-02T18:32:11 +2ms service=default name=Error message=Executable not found in $PATH: "go" fatal ERROR 2025-07-02T18:32:11 +0ms service=default e=Executable not found in $PATH: "go" rejection
yindo closed this issue 2026-02-16 17:26:44 -05:00
Author
Owner

@cravenceiling commented on GitHub (Jul 2, 2025):

Do you have Go (Golang) installed on you system?

@cravenceiling commented on GitHub (Jul 2, 2025): Do you have Go (Golang) installed on you system?
Author
Owner

@elmoyses commented on GitHub (Jul 2, 2025):

Thank you very much for your kind answer cravenceiling.

No, I don't have Golang installed.

Uninstalled using brew
brew remove opencode

Installed Golang:
brew install golang
Tried once again using brew and it worked.

brew install opencode

Once againk thank you very much for your help.

@elmoyses commented on GitHub (Jul 2, 2025): Thank you very much for your kind answer cravenceiling. No, I don't have Golang installed. Uninstalled using brew `brew remove opencode` Installed Golang: `brew install golang ` Tried once again using brew and it worked. `brew install opencode` Once againk thank you very much for your help.
Author
Owner

@cravenceiling commented on GitHub (Jul 2, 2025):

Happy to help.

@cravenceiling commented on GitHub (Jul 2, 2025): Happy to help.
Author
Owner

@thdxr commented on GitHub (Jul 2, 2025):

hmm you should not need go to run it

@thdxr commented on GitHub (Jul 2, 2025): hmm you should not need go to run it
Author
Owner

@thdxr commented on GitHub (Jul 2, 2025):

fixed in v0.1.181

@thdxr commented on GitHub (Jul 2, 2025): fixed in v0.1.181
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#445