ai/opencode 1.18.5 MidnightBSD
OpenCode AI coding agent CLI (via Linux emulation)
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
b03c3d00d7- License
- mit
- Categories
- ai, linux
Description
OpenCode is an AI coding agent that runs in the terminal. It can work with multiple AI providers to help inspect codebases, edit files, and run commands.
This port installs the official Linux x86_64 baseline binary through MidnightBSD's Rocky Linux 9 emulation layer. The wrapper disables Bun's BBQ JIT, which is not supported by MidnightBSD Linux emulation.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | ai/opencode | 1.18.5 |
| FreeBSD | misc/opencode | 2.1.0_1 |
Install
Binary package:
mport install opencode
From mports:
cd /usr/mports/ai/opencode && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= opencode>0:ai/opencode
Dependencies
No port depends on this one.
Configuration
No options to configure.
- USES
- linux:rl9
- Service scripts
- none
Files
pkg-plist 3
- bin/opencode
- lib/linux-opencode/opencode
- @dir lib/linux-opencode
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| opencode-linux-x64-baseline.tar.gz | 5.9304256e+07 | d61cefe7d59b26cab43d4758aa411b8e47a4228904eea362ca7d6c6f6d0f3ea8 |
Master sites 1
- https://github.com/anomalyco/opencode/releases/download/v1.18.5/
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
b03c3d00d7 |
Lucas Holt | ai/opencode: add Linux emulation port AI-Assisted-by: Codex GPT-5 <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |