Directory › Development › opencode
> GEM DEVELOPMENT · AGENTS & AUTOMATION · LOCAL AI
opencode
by Anomaly (équipe SST)
An open-source, provider-agnostic coding agent for the terminal, with a polished TUI.
View on GitHub →What it does
- Works with dozens of providers and local models
- Polished terminal UI, plus a desktop app
- LSP support and MCP servers
Install it
Requirements: An API key or a local model.
Install (macOS / Linux)
curl -fsSL https://opencode.ai/install | bash
Or with npm
npm i -g opencode-ai@latest
Windows (Scoop)
scoop install opencode
The prompt for your agent
Paste it into your coding agent: it checks the requirements and installs it for you.
Claude CodeCodexCursorGemini CLIopencode
Prompt
Install opencode (https://opencode.ai) on my machine.
1. Check the requirements: An API key or a local model. If anything is missing, tell me before installing anything.
2. Follow the official method:
- Install (macOS / Linux): curl -fsSL https://opencode.ai/install | bash
- Or with npm: npm i -g opencode-ai@latest
- Windows (Scoop): scoop install opencode
3. Check that it works, then explain how to launch it and where to start.
Always review what your agent is about to run, especially install commands.