Files
nexus/wiki/sources/如何在ubuntu上安装opencode并配置vibe-kanban.md
2026-04-17 08:38:12 +08:00

2.0 KiB
Raw Blame History

title, type, tags, date
title type tags date
如何在Ubuntu上安装opencode并配置Vibe-Kanban source
opencode
ubuntu
vibe-coding
vibe-kanban
2026-04-17

Source File

Summary

  • 核心主题OpenCode AI 编程助手的安装、配置与使用
  • 问题域:本地 AI 编码环境搭建、Vibe Coding 工作流
  • 方法/机制curl 安装脚本 → /connect 连接 LLM 提供商 → /init 初始化项目 → Plan/Build 双模式切换
  • 结论/价值:开源 AI 编程助手,可在终端/桌面/IDE 使用,支持 Plan 模式预览实现方案后再执行

Key Claims

  • OpenCode 通过安装脚本一键部署支持终端、桌面应用、IDE 插件三种形态
  • 使用 OpenCode Zen 可快速连接经过验证的 LLM 提供商
  • /init 命令分析项目结构并生成 AGENTS.md 文件,帮助 AI 理解代码模式
  • Tab 键切换 Plan 模式(预览方案)和 Build 模式(执行修改)

Key Quotes

"You should commit your project's AGENTS.md file to Git. This helps OpenCode understand the project structure and the coding patterns used." "Give OpenCode plenty of context and examples to help it understand what you want."

Key Concepts

  • OpenCode:开源 AI 编程助手支持终端、桌面、IDE 三种使用形态
  • OpenCode ZenOpenCode 官方提供的模型列表服务,经过测试验证的 LLM 提供商
  • Plan ModeOpenCode 的方案预览模式,禁用修改功能仅展示实现计划
  • Build ModeOpenCode 的实际执行模式,接收指令后进行代码修改
  • AGENTS.md:项目根目录的配置文件,记录代码结构和编码模式

Key Entities

  • OpenCode.aiOpenCode 官方网站,提供安装文档和账户管理

Connections

  • Ollama ← 关联 ← OpenCode(本地大语言模型运行环境,可作为 OpenCode 的后端)
  • Claude Code ← 类似 ← OpenCodeAI 编程助手产品)

Contradictions

  • (无冲突)