Step 1: Install OpenCode
Install OpenCode by running the following command in your terminal:- Terminal CLI: Install via curl, npm, Homebrew, or system package managers
- Desktop app (Beta): Available for macOS, Windows, and Linux
- IDE extensions: Integrates with VS Code, Cursor, Zed, Windsurf, and VSCodium
- Platform integrations: Connect with GitHub and GitLab
Step 2: Launch OpenCode
Runopencodein your terminal to launch OpenCode:
Step 3: Configure SiliconFlow
- Connect to SiliconFlow: Enter
/connectin the OpenCode to open the API provider selection page - Select SiliconFlow: Choose
SiliconFlowfrom the available providers - Add API Key: Get your SiliconFlow API key and paste it when prompted
- Select Models: Run
/modelsto access powerful models including:deepseek-ai/DeepSeek-V3.2moonshotai/Kimi-K2-ThinkingMiniMaxAI/MiniMax-M2.1zai-org/GLM-4.7- And more
OpenCode Command Shortcut
Below is a quick reference of commonly used OpenCode commands and agents to help you navigate:
For more details, please refer to the official OpenCode documentation.