Auto-sync: 2026-04-17 08:37
This commit is contained in:
42
wiki/sources/如何在ubuntu上安装opencode并配置vibe-kanban.md
Normal file
42
wiki/sources/如何在ubuntu上安装opencode并配置vibe-kanban.md
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
title: "如何在Ubuntu上安装opencode并配置Vibe-Kanban"
|
||||
type: source
|
||||
tags: [opencode, ubuntu, vibe-coding, vibe-kanban]
|
||||
date: 2026-04-17
|
||||
---
|
||||
|
||||
## Source File
|
||||
- [[raw/Vibe Coding/如何在Ubuntu上安装opencode并配置Vibe-Kanban.md]]
|
||||
|
||||
## 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 Zen]]:OpenCode 官方提供的模型列表服务,经过测试验证的 LLM 提供商
|
||||
- [[Plan Mode]]:OpenCode 的方案预览模式,禁用修改功能仅展示实现计划
|
||||
- [[Build Mode]]:OpenCode 的实际执行模式,接收指令后进行代码修改
|
||||
- [[AGENTS.md]]:项目根目录的配置文件,记录代码结构和编码模式
|
||||
|
||||
## Key Entities
|
||||
- [[OpenCode.ai]]:OpenCode 官方网站,提供安装文档和账户管理
|
||||
|
||||
## Connections
|
||||
- [[Ollama]] ← 关联 ← [[OpenCode]](本地大语言模型运行环境,可作为 OpenCode 的后端)
|
||||
- [[Claude Code]] ← 类似 ← [[OpenCode]](AI 编程助手产品)
|
||||
|
||||
## Contradictions
|
||||
- (无冲突)
|
||||
Reference in New Issue
Block a user