Files
nexus/wiki/sources/在ubuntu上安装vibe-kanban.md
2026-04-22 12:02:55 +08:00

48 lines
2.3 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.
---
title: "在Ubuntu上安装Vibe-Kanban"
type: source
tags: [npm, npx, pm2, ubuntu, vibe-coding, vibe-kanban]
sources: []
last_updated: 2026-04-22
---
## Source File
- [[Vibe Coding/在Ubuntu上安装Vibe-Kanban.md]]
## Summary用中文描述
- 核心主题Vibe-Kanban 在 Ubuntu 服务器上的安装、配置与 PM2 进程管理
- 问题域AI 编程 agent 的任务管理与自动化工作流
- 方法/机制:通过 npx 快速启动 + PM2 守护进程实现后台常驻,支持自定义 HOST/PORT 环境变量Git worktree 隔离任务环境
- 结论/价值:提供一套完整的 Ubuntu Server 部署 Vibe-Kanban 生产级方案,突破浏览器限制实现远程访问
## Key Claims用中文描述
- Vibe-Kanban 默认以随机端口启动并自动打开浏览器,适合本地桌面使用
- 通过 `HOST=0.0.0.0 PORT=9999` 环境变量可固定端口并允许外部访问
- PM2 守护进程可实现进程常驻、自动重启和开机自启,适合服务器长期运行
- 每个任务运行在独立的 git worktree 中,防止多个 agent 相互干扰
- Vibe-Kanban 默认以 `--dangerously-skip-permissions` 模式运行agent 可自主执行系统级操作
## Key Quotes
> "Vibe Kanban runs AI agents with —dangerously-skip-permissions/—yolo flags by default so they can work autonomously without constant approval prompts." — 安全机制说明
> "Each task runs in an isolated git worktree, preventing agents from interfering with each other." — 隔离机制说明
> "pm2 start \"HOST=0.0.0.0 PORT=9999 npx vibe-kanban\" --name vibe-kanban" — Ubuntu Server 生产部署命令
## Key Concepts
- [[Vibe Coding]]:通过自然语言与 AI coding agent 交互进行编程的工作方式
- [[Vibe-Kanban]]AI agent 任务看板工具,基于 git worktree 隔离每个任务
- [[PM2]]Node.js 进程管理器,提供进程守护、自动重启和开机自启功能
- [[Git Worktree]]Git 多工作目录功能Vibe-Kanban 用其实现任务隔离
## Key Entities
- [[BloopAI]]Vibe-Kanban 的开发公司,项目托管于 github.com/BloopAI/vibe-kanban
## Connections
- [[Vibe Coding]] ← 应用场景 ← [[在Ubuntu上安装Vibe-Kanban]]
- [[PM2]] ← 进程管理 ← [[在Ubuntu上安装Vibe-Kanban]]
- [[OpenCode]] ← 互补工具 ← [[Vibe-Kanban]](同为 supported coding agent
## Contradictions
- 无明显冲突内容