OpenCode is an open source AI coding agent. This port tracks the OpenCode 2.x line.
- Terminal-based interface for AI-assisted coding
- Built-in support for many LLM providers via /connect
- Configurable agents, models, skills, tools, and themes
- Extensible with plugins, MCP servers, and custom commands
Migration from 1.x: https://opencode.ai/v2/docs/migrate-v1/
OpenCode is an open source AI coding agent. This port tracks the OpenCode 2.x line.
- Terminal-based interface for AI-assisted coding
- Built-in support for many LLM providers via /connect
- Configurable agents, models, skills, tools, and themes
- Extensible with plugins, MCP servers, and custom commands
Migration from 1.x: https://opencode.ai/v2/docs/migrate-v1/
To install opencode, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install opencode
To see what files were installed by opencode, run:
port contents opencode
To later upgrade opencode, run:
sudo port selfupdate && sudo port upgrade opencode
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.