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
本文来自博客园,作者:Theseus‘Ship,转载请注明原文链接:https://www.cnblogs.com/yongchao/p/20260233

浙公网安备 33010602011771号