Ghostty macOS Config
sasa935/ghostty-macos-config
Terminal Ghostty pré-configurado com tema neon, fonte e atalhos, sem poluição de ~/.zshrc
Ver no GitHubSkill para configuração profissional do terminal Ghostty no macOS, com tema Synthwave, fonte Maple Mono e atalhos otimizados. Automatiza a instalação sem poluir o ambiente global do shell, preservando Terminal.app intacto.
Instalação
npx convez-ai sasa935/ghostty-macos-config1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Configurar terminal Ghostty consistente entre múltiplas máquinas macOS
- Automatizar instalação de tema, fonte e atalhos via Claude Code
- Manter ambiente shell limpo sem contaminar Terminal.app ou outras ferramentas
Veredito

Skill bem-estruturado que resolve um problema real: configurar Ghostty de forma reprodutível sem poluir configurações globais. Ideal para desenvolvedores que usam Claude Code e precisam de ambiente terminal consistente entre máquinas, mas requer Ghostty já instalado no macOS.
README
A tradução para o português deste README ainda está na fila.
👻 ghostty-macos-config
一份跨机器的 Ghostty 终端配置 SOP,打包成一个 Claude / AI skill。
任何 AI(Claude / Codex)在任意 Mac 上照此操作,即可一键复刻同一套外观与快捷键 —— 也可以你自己照着手动配。
最终效果
- 🎨 Synthwave Everything 霓虹深紫主题
- ✍️ Maple Mono NF CN 字体(中文 / 连字 / 图标全支持)
- 🪟 透明标题栏 + 毛玻璃半透明
- ⌨️ 一整套分屏 / 提示符跳转 / 下拉快捷终端快捷键
红线(为什么这套配置很「干净」)
只改 Ghostty 自己的 ~/.config/ghostty/config,绝不污染 ~/.zshrc。
原因:~/.zshrc 被所有终端共用。如果往里塞 starship / Nerd-Font 图标 / eza·bat 别名,macOS 自带的「终端 Terminal.app」(没有 Nerd Font)就会出现一堆豆腐块 □。这套配置把花哨的东西全留在 Ghostty 里,Terminal.app 永远保持系统默认的朴素样式。
怎么用
方式一:交给 AI(推荐)
把这个仓库交给 Claude Code / Codex,一句话:
照这个 Ghostty skill 的步骤,把这台 Mac 的 Ghostty 配好;务必遵守红线:别污染 Terminal.app。
它会自动装字体、写配置、校验。
作为 Claude Code skill 安装
把本仓库放到 Claude 的 skills 目录即可(任选其一):
# 个人全局 skills
git clone https://github.com/sasa935/ghostty-macos-config.git \
~/.claude/skills/ghostty-macos-config
# 或:某个项目内的 skills
git clone https://github.com/sasa935/ghostty-macos-config.git \
.claude/skills/ghostty-macos-config
之后跟 Claude 说「帮我配一下 Ghostty」就会自动触发。
方式二:自己手动配
完整步骤见 SKILL.md。最短路径:
# 1. 装 Ghostty(没装的话)与字体
brew install --cask ghostty font-maple-mono-nf-cn
# 2. 写配置
mkdir -p ~/.config/ghostty
curl -fsSL https://raw.githubusercontent.com/sasa935/ghostty-macos-config/main/assets/config \
-o ~/.config/ghostty/config
# 3. 校验
/Applications/Ghostty.app/Contents/MacOS/ghostty +validate-config
# 4. Cmd+Q 退出 Ghostty 再重开生效
仓库结构
ghostty-macos-config/
├── SKILL.md # 完整 SOP(AI 读这个执行;也是给人看的最全文档)
├── assets/
│ └── config # 可直接复制到 ~/.config/ghostty/config 的配置文件
├── README.md
└── LICENSE
调整速查
- 嫌透明影响阅读 →
background-opacity = 1 - 不喜欢连字 → 加
font-feature = -calt - 想跟随系统浅 / 深色 →
theme = dark:Catppuccin Mocha,light:Catppuccin Latte - 换主题看全部 463 个内置:
ghostty +list-themes
更多可选的 TUI / CLI 工具(btop、yazi、lazygit 等)见 SKILL.md 的「完整安装清单」。
License
MIT —— 随便用,欢迎 fork 改成你自己的口味。