| name | prerequisites |
| description | Prerequisites for using OpenCode - terminal emulator requirements and API key setup |
| author | Tim Sonner |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"developers","workflow":"setup","language":"markdown"} |
OpenCode Prerequisites
Before using OpenCode, you need to ensure you have the following prerequisites:
Terminal Emulator Requirements
To use OpenCode in your terminal, you’ll need a modern terminal emulator like:
These terminals are recommended for optimal performance and compatibility with OpenCode’s features.
API Keys for LLM Providers
You’ll need API keys for the LLM providers you want to use with OpenCode. OpenCode supports various LLM providers, and you can configure their API keys in the settings.
If you are new to using LLM providers, we recommend using OpenCode Zen. It’s a curated list of models that have been tested and verified by the OpenCode team.
To configure your API keys:
- Run the
/connect command in the TUI
- Select your preferred provider
- Follow the authentication process to obtain and enter your API key