Files
nexus/wiki/sources/opencode-ubuntu-install.md
2026-04-14 16:02:50 +08:00

39 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: opencode-ubuntu-install
title: "在 Ubuntu 上安装 OpenCode 并配置 Vibe-Kanban"
type: source
tags: [opencode, ubuntu, vibe-coding, vibe-kanban]
sources: []
last_updated: 2026-04-14
---
## Summary
- 核心主题OpenCode AI 编码 Agent 的安装配置及其与 Vibe-Kanban 的集成
- 问题域:开源 AI 编码工具的本地部署和 LLM Provider 配置
- 方法/机制:通过官方安装脚本一键安装,配置 API Key 后初始化项目
- 结论/价值OpenCode 支持任意 LLM Provider通过 AGENTS.md 文件理解项目结构
## Key Claims
- OpenCode 可通过 `curl -fsSL https://opencode.ai/install | bash` 一键安装
- OpenCode 支持任意 LLM Provider需配置 API Key也提供 OpenCode Zen 托管服务
- 初始化项目后会自动创建 `AGENTS.md` 文件,建议提交到 Git
- OpenCode 提供 Plan 模式和 Build 模式切换Tab 键),支持 /undo 和 /redo 命令
- Vibe-Kanban 使用 GitHub CLI 创建 Pull Request
## Key Concepts
- [[OpenCode]]:开源 AI 编码 Agent支持终端界面、桌面应用和 IDE 扩展
- [[Vibe-Kanban]]:任务看板,用于管理 AI 编码 Agent 的工作流
- [[AGENTS-md]]OpenCode 项目初始化时生成的文件,记录项目结构和编码规范
- [[Plan模式]]OpenCode 的规划模式,只生成实现计划不执行代码修改
- [[Build模式]]OpenCode 的构建模式,执行代码修改
## Key Entities
- [[BloopAI]]OpenCode 的开发公司
## Connections
- [[OpenCode]] ← 支持 ← [[LLM-Provider]]
- [[Vibe-Kanban]] ← 集成 ← [[OpenCode]]
- [[OpenCode]] ← 生成 ← [[AGENTS-md]]
## Contradictions