
### tty7
**一个终端工作台:shell、会话、SSH、编程智能体。**
纯 Rust · 基于 Zed 的 gpui 进行 GPU 渲染 · VT 核心源自 Alacritty
[](https://github.com/l0ng-ai/tty7/actions/workflows/ci.yml)
[](https://github.com/l0ng-ai/tty7/releases)
[](LICENSE)
[](https://discord.gg/s3dethqz2V)
English · [简体中文](README.zh-CN.md)
## 为什么选择 tty7
- **极速** — 吞吐量约为 Alacritty、Ghostty 或 Kitty 的 2 倍([基准测试](#benchmarks))
- **会话持久化** — 退出或重启;你的 shell 会继续运行,无需 tmux
- **编辑器级别的输入** — 内置自动补全、语法高亮和历史搜索;zsh、bash、fish、PowerShell 零配置
- **感知智能体** — 能在窗格中识别 Claude Code 等工具:状态、通知、会话恢复
## 安装
在 [**Releases**](https://github.com/l0ng-ai/tty7/releases) 页面获取各平台的原生构建版本:
| | | |
|---|---|---|
| **macOS** | `…-macos-arm64.dmg` · `…-x86_64.dmg` | 拖入“应用程序” |
| **Windows** | `…-setup.exe` · 便携版 `….zip` | |
| **Linux** | `…-x86_64.AppImage` | `chmod +x` 后运行 — 内置 x11/wayland 依赖库 |
## 功能详情
| | |
|---|---|
| **输入** | 基于历史的幽灵建议 · 带解释的 Tab 补全 · 语法高亮 · 多行编辑 · 点击放置光标 ·
⌃ R 模糊搜索历史 |
| **窗口** | 标签页与分屏 ·
⌘ P 命令面板 ·
⌘ F 滚动缓冲区搜索 · 八款主题 · IME |
| **编程智能体** | 按窗格检测智能体(约 17 个 CLI):状态指示点、通知、分支与 diff、重启后恢复、提示“需要您的输入”的系统托盘图标 |
| **SSH** | 原生 russh 技术栈:支持钥匙串机密的配置文件、SFTP 面板、端口转发、跳板机 |
每一行的详细信息:[docs/features.md](docs/features.md)。快捷键:
⌘ ,
打开设置 — 浏览并重新映射所有快捷键,内置 tmux 预设
([完整列表](docs/features.md#keybindings))。
## 基准测试
同一台机器,同一天,相同的 155×40 网格 — Apple M1 Pro,macOS 26.3.1,
五次运行的平均值(2026-07-04):
| | **tty7** | Alacritty | Ghostty | Kitty |
|---|---:|---:|---:|---:|
| 纯文本 IO — 11 MB `cat`
(数值越低越好) | **95 ms** | 239 ms | 179 ms | 185 ms |
| [DOOM-fire](https://github.com/const-void/DOOM-fire-zig) 帧率
(数值越高越好) | **888 fps** | 485 fps | 552 fps | 617 fps |
| 冷启动内存 | 116 MB¹ | 105 MB | 128 MB | 130 MB |
¹ GUI 占用 105 MB + 常驻 daemon 占用 11 MB。
测试方法与单命令复现脚本:[`scripts/bench/`](scripts/bench/README.md)。
基于 [gpui](https://github.com/zed-industries/zed) 和 [`alacritty_terminal`](https://github.com/zed-industries/alacritty) 构建 · [Apache-2.0](LICENSE) · [Discord](https://discord.gg/s3dethqz2V) · [更新日志](CHANGELOG.md)