48 lines
2.4 KiB
Markdown
48 lines
2.4 KiB
Markdown
---
|
||
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
|
||
- 无明显冲突内容
|