--- title: "Vibe-Kanban OpenCode Ubuntu安装指南" type: source tags: [Vibe-Kanban, OpenCode, Ubuntu, pm2] date: 2026-03-29 --- ## Source File - [[raw/Vibe Coding/Vibe-Kanban + OpenCode 在 Ubuntu Server 上安装与管理指南.md]] ## Summary - 核心主题:Ubuntu Server安装配置Vibe-Kanban+OpenCode并用pm2管理进程 - 问题域:AI辅助编程工具的环境配置 - 方法/机制:nvm安装Node20 → npm安装 → pm2进程管理 - 结论/价值:完整安装流程,注意不要用root启动OpenCode serve ## Key Claims - 清理旧安装:删除旧工作树 ~/.vibe-kanban,确保shenwei用户有目录权限 - nvm安装Node20:curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - Vibe-Kanban安装:npm install -g vibe-kanban - OpenCode安装:npm install -g opencode-ai - pm2管理:pm2 start "RUST_LOG=debug HOST=0.0.0.0 PORT=9999 npx vibe-kanban" --name vibe-kanban - 验证:ss -lntp | grep opencode检查端口,curl http://127.0.0.1:9999访问 - 不要用root启动OpenCode serve,vibe-kanban会自动spawn executor ## Key Concepts - [[VibeKanban]]:AI看板工具 - [[OpenCode]]:AI编程代理 - [[pm2进程管理]]:Node.js进程管理器 ## Key Entities - [[VibeKanban]]:AI看板 - [[OpenCode]]:AI编程工具 - [[Ubuntu2]]:192.168.3.45,安装宿主 ## Connections - [[Vibe-Kanban-OpenCode-Ubuntu安装指南]] ← documents [[VibeKanban]], [[OpenCode]] ## Contradictions - 无冲突