opencode.ai

i managed to get a freebsd-native opencode binary going.

i found that neither the current bun or zig packages were able to pull it off.

however, reverting those tools back (using (freebsd) binaries from the respective authors' archives), got me further.

the opencode repo had some nuggets for freebsd, but the work was incomplete.
i used opencode/big-pickle to finish/polish that work.

but, the opentui module needed a whole freebsd section added.
again, i used opencode/big-pickle to flesh that out.

in the end, i have a freebsd-native opencode binary.

i've used it to do some coding and research, via opencode+zen.

"works for me".

i'm generally suspicious of AI tooling, so, i run this binary in a limited jail, to constrain what evil it can get up to.

your mileage may vary.

hopefully, one day the bun and zig packages will work, and opencode will finish and commit their freebsd code.

 
i managed to get a freebsd-native opencode binary going.

i found that neither the current bun or zig packages were able to pull it off.

however, reverting those tools back (using (freebsd) binaries from the respective authors' archives), got me further.

the opencode repo had some nuggets for freebsd, but the work was incomplete.
i used opencode/big-pickle to finish/polish that work.

but, the opentui module needed a whole freebsd section added.
again, i used opencode/big-pickle to flesh that out.

in the end, i have a freebsd-native opencode binary.

i've used it to do some coding and research, via opencode+zen.

"works for me".

i'm generally suspicious of AI tooling, so, i run this binary in a limited jail, to constrain what evil it can get up to.

your mileage may vary.

hopefully, one day the bun and zig packages will work, and opencode will finish and publish their freebsd code.



i found this in the notes:

opencode provenance (likely)

Strong signal points to unmerged/duplicate FreeBSD work in upstream issue flow:
- anomalyco/opencode issue: #28642 (“FreeBSD support”) mentions a prior PR #29783 (closed as duplicate).

Commit pages exist for:
- 710f16e — “feat: add FreeBSD platform support”
- d7608cd — “fix(build): quote path defines and add FreeBSD target”
 
Back
Top