
OpenCode Quickstart: Install, Configure, and Use the Terminal AI Coding Agent
OpenCode is an open source AI coding agent you can run in the terminal (TUI + CLI) with optional desktop and IDE surfaces. This is the OpenCode Quickstart : install, verify, connect a model/provider, and run real workflows (CLI + API). Version note: OpenCode ships quickly. The “latest” commands here are stable, but output and defaults can change—always cross-check the official CLI docs and changelog (linked below). This article is a part of AI Developer Tools: The Complete Guide to AI-Powered Development . What OpenCode is (and where it fits) OpenCode is designed for terminal-first, agentic coding , while staying provider/model-flexible. In practice, it’s a workflow layer that can: start a terminal UI when you run opencode run non-interactive “one-shot” prompts via opencode run (scripts/automation) expose a headless HTTP server via opencode serve (and a web UI via opencode web ) be controlled programmatically via the official JS/TS SDK @opencode-ai/sdk If you’re building an /ai-devtool
Continue reading on Dev.to
Opens in a new tab



