试试连Claude Code团队都在使用的终端软件Ghostty

发布时间:2026/6/24 9:08:15

试试连Claude Code团队都在使用的终端软件Ghostty 终端性能卡顿长输出直接掉帧Claude 一次输出几百行滚屏飞快信息一晃而过无法做到分屏窗口管理混乱多窗口需要来回切换正所谓工欲善其事必先利其器那么极需要一款能满足使用终端场景的工具--Ghostty。Anthropic 官方都推荐 Ghostty 作为 Claude Code 的首选终端主要原因占用内存占用低GPU 加速渲染性能显著优于 iTerm2友好适配 Claude Code、Cursor 等支持图形协议、一键分屏支持数百种配色主题零配置开箱即用也可个性化配置由 Mitchell Hashimoto 主导开发强调性能与简洁设计安装方式一Homebrew推荐brew install --cask ghostty方式二官网下载下载对应系统的安装文件 Download Ghostty配置Ghostty 的设计理念是让大多数用户无需任何配置即可开箱即用如果你更喜欢自定义个性化可以看看以下选项。个性化配置打开 Ghostty 使用快捷键Cmd,或~/.config/ghostty/config打开配置文件复制以下# 主题设置 # 跟随系统自动切换明暗主题 dark:,light: theme dark:iTerm2 Dark Background,light:iTerm2 Light Background # shell 集成 shell-integration detect # 字体设置 font-size 12 font-thicken true adjust-cell-height 2 # 窗口设置 window-theme system window-save-state always background-opacity 0.8 macos-titlebar-style transparent # 鼠标设置 copy-on-select clipboard mouse-hide-while-typing true cursor-style bar cursor-style-blink true cursor-opacity 0.85 # 缓冲区 scrollback-limit 8388608 # 快速终端 quick-terminal-position top quick-terminal-screen mouse quick-terminal-autohide true quick-terminal-animation-duration 0.2 # 安全设置 clipboard-paste-protection true clipboard-paste-bracketed-safe true修改完后一定要重载配置使用快捷键Cmd Shift ,或Ghostty菜单栏操作。列出主题查看可用主题列表命令行预览所见即所得CLI:ghostty list-themes更多配置项更多配置参考Option Reference - Configuration快捷键在~/.config/ghostty/config可以绑定快捷键# 快捷键 # Cmd呼出快速终端 keybind global:cmdtoggle_quick_terminal更多配置项更多配置参考Action Reference - Keybindings常用快捷键左右分屏Cmd D 垂直分屏Cmd Shift D 切换分屏Cmd [ / Cmd ] 放大/还原当前分屏Cmd Shift Enter 关闭当前分屏Cmd W 重载配置Cmd Shift , 完全退出Cmd Q 新建标签页Cmd T 切换标签页Cmd 1 ~ 9 前后切换Cmd Shift [ / Cmd Shift ] 关闭标签页Cmd Shift W 开启搜索Cmd F 跳到滚动开头Cmd ↑ 跳到滚动结尾Cmd ↓使用场景分析一个比较实用的布局场景左上项目代码Git信息左下Claude Code写代码右上fastfetch系统信息右下btop实时监控# 安装依赖工具

相关新闻