跳到内容
PaneflowPaneflow

开始使用

安装 Paneflow,打开终端面板并启动第一个编码智能体。审阅代码变更,并在关闭应用后保持会话运行。

Paneflow 是面向编码智能体的原生终端复用器。在不同面板中运行 Claude Code、 Codex、OpenCode、Gemini 或 shell 命令,在同一界面跟踪活动并审阅代码变更。

Paneflow 免费开源,支持 Linux(x86_64 和 ARM64)、macOS(Apple Silicon) 和 Windows(x86_64)。安装时无需 Rust。

Paneflow 左侧面板运行 Claude Code,中间显示源代码,右侧面板运行代码审查智能体。

启动第一个智能体

1.下载并安装 Paneflow

选择适用于操作系统的下载版本,然后按照安装指南操作。 在 macOS 上也可以使用 Homebrew 安装。

阅读 Linux 安装指南、 macOS 安装指南或 Windows 安装指南。 如需其他软件包或架构版本,可对比安装格式。

2.打开 Paneflow

从应用启动器、Spotlight、应用程序文件夹或开始菜单打开 Paneflow。 也可以在项目目录中打开终端并运行:

终端
paneflow

首次启动时,Paneflow 会打开一个带终端面板的工作区。 无需 Paneflow 账户或 API 密钥。遥测默认关闭,仅在您同意后启用。

Paneflow 无法打开? 检查下方的图形要求,并阅读 故障排除指南。如果终端找不到 paneflow, 请按照操作系统对应的安装指南设置,使该命令可用。

3.将终端拆分为多个面板

使用默认快捷键打开第二个面板,并在面板之间切换:

  • Cmd/Ctrl+Shift+D - 水平分屏。
  • Cmd/Ctrl+Shift+E - 垂直分屏。
  • Alt+Arrow - 在面板之间移动焦点。
  • Cmd/Ctrl+Shift+N - 打开另一个工作区。

macOS 使用 Cmd,Linux 和 Windows 使用 Ctrl。 每个新面板都会在同一工作目录中打开一个 shell。

4.启动已安装的智能体

先单独安装智能体并完成配置,再在 Paneflow 中运行。 在终端面板中,根据所用智能体执行以下一条命令:

Claude Code
claude
Codex
codex
OpenCode
opencode

任何面板都可以运行其他 CLI 智能体或 shell 命令。 每个智能体使用自己的账户和模型提供商。Paneflow 显示的活动状态 取决于该智能体的集成方式。

要并行运行第二个智能体,请在另一个面板中启动它。

审阅代码变更

智能体修改文件后,打开停靠栏中的 Changes,查看当前检出目录 相对于 HEAD 的差异,包括已暂存、未暂存的变更和未跟踪文件。 打开 Files,即可在内置编辑器中阅读或编辑文件。

如果任务需要独立的工作目录,可使用 Git worktree。

保持会话运行

退出 Paneflow 时选择 Keep sessions running,让 shell 和智能体继续运行。 重新打开应用即可连接到这些会话。

计算机和会话宿主进程必须保持运行。计算机重启或宿主进程崩溃会终止这些进程。 如需在退出时结束会话,选择 Stop everything and quit。

系统要求

平台系统图形
Linuxx86_64 或 ARM64;参阅 Linux 安装指南Vulkan 加载器(libvulkan1 / vulkan-loader)及兼容的 GPU 驱动
macOSmacOS 13 Ventura 或更新版本,Apple SiliconMetal
WindowsWindows 10(1809+)或 11,x86_64DirectX 11

在 Windows 上使用 PowerShell 或 Git Bash,可让 Paneflow 跟踪当前工作目录。 cmd.exe 不会通过 Paneflow 使用的 OSC 7 序列报告目录变更。

使用 AI 智能体安装 Paneflow

要让 CLI 智能体协助安装 Paneflow,可将下方提示词复制到对话中。 提示词要求智能体识别操作系统和架构、阅读对应的安装指南, 并在执行命令或运行安装程序前征求您的确认。

Install Paneflow on this machine.

Use https://paneflow.dev/llms.txt to find the current install docs, then fetch the matching raw Markdown guide by appending .md to the install URL. Detect the real OS, architecture, and whether this is native Windows, WSL2, Linux, or macOS.

Follow the recommended path in the matching guide instead of guessing: Homebrew or DMG on macOS, the right Linux format for the distro and use case, MSI on native Windows, and WSL2 only when my files, agents, and toolchains already live inside Linux. If my OS or architecture is unsupported, stop and explain the supported options.

Before running any command or installer action, show exactly what you plan to do and wait for my confirmation. Do not use sudo, run an MSI/DMG, change PATH, or bypass a security prompt unless I explicitly approve it.

After installation, verify with `paneflow --version`, then tell me the shortest reliable way to launch Paneflow on this machine.

下一步

如需报告问题,可在 GitHub 创建 Issue。