OpenCode 多模型 AI 编码代理 CLI
An open-source terminal-native AI coding agent written in Go that supports 75+ LLMs including Claude, GPT, Gemini, and local models. Provides file editing, code generation, shell command execution, and project understanding without subscription fees.
Installation
Use the upstream install or setup path that matches your environment:
- brew install opencode-ai/tap/opencode
- go install github.com/opencode-ai/opencode@latest
- git clone https://github.com/1991513ccie-png/skills
Basic usage or getting-started notes:
- ### Using the Install Script
- bash
- curl -fsSL https://raw.githubusercontent.com/opencode-ai/opencode/refs/heads/main/install | VERSION=0.1.0 bash
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/opencode-ai/opencode/HEAD/README.md