AI coding agent-OpenCode

AI coding agent-OpenCode

OpenCode is an open-source AI coding assistant that provides intelligent code completion, code generation, and conversational programming experience.

A powerful AI coding agent. Built for the terminal.

OpenCode is a Go-based CLI application that brings AI assistance to your terminal. It provides a TUI (Terminal User Interface) for interacting with various AI models to help with coding tasks, debugging, and more.


Install

  • install script: curl -fsSL https://opencode.ai/install | bash
  • install command
# Using Homebrew (macOS/Linux)
brew install opencode-ai/tap/opencode
 
# Using npm
npm install -g opencode
 
# Using Go
go install github.com/opencode-ai/opencode@latest
  • offline install(wget)
    https://github.com/anomalyco/opencode/releases

Start

cd <project>  # Open directory
opencode      # Run command

Docs

posted @ 2026-06-02 07:27  Theseus‘Ship  阅读(5)  评论(0)    收藏  举报
Live2D