Claude Code for Alacritty — Workflow Guide
The Setup
You are running Claude Code in Alacritty, the GPU-accelerated terminal emulator focused on simplicity and performance. Alacritty has no tabs, no splits, and no built-in multiplexing — it does one thing (fast terminal rendering) and does it well. You pair it with tmux or Zellij for workspace management. Claude Code can configure Alacritty, but it generates iTerm2 or Terminal.app settings.
What Claude Code Gets Wrong By Default
-
References iTerm2 preferences. Claude says “go to iTerm2 > Preferences > Profiles.” Alacritty is configured entirely through a TOML file at
~/.config/alacritty/alacritty.toml— no GUI preferences. -
Uses iTerm2-specific escape codes. Claude outputs iTerm2 proprietary escape sequences for images or custom features. Alacritty supports standard terminal escape codes only — no proprietary extensions.
-
Expects built-in tab/split support. Claude uses
Cmd+Tfor new tabs orCmd+Dfor splits. Alacritty has neither — use tmux or Zellij for multiplexing and run Claude Code in split panes. -
Generates JSON config format. Claude writes Alacritty config in the old JSON/YAML format. Modern Alacritty uses TOML:
~/.config/alacritty/alacritty.toml.
The CLAUDE.md Configuration
# Alacritty Terminal Configuration
## Terminal
- Emulator: Alacritty (GPU-accelerated, minimal)
- Config: ~/.config/alacritty/alacritty.toml (TOML format)
- Multiplexer: tmux or Zellij (Alacritty has no tabs/splits)
- Rendering: GPU-accelerated, high performance
## Alacritty Rules
- Config in TOML, not JSON or YAML
- No tabs, no splits — use tmux/zellij
- Font: [font] section in alacritty.toml
- Colors: [colors] section or import theme TOML
- Key bindings: [[keyboard.bindings]] array
- Scrollback: [scrolling] history = 10000
- Live reload: config changes apply immediately
- No plugin system — features are built-in or absent
## Conventions
- Pair Alacritty with tmux for Claude Code workflow
- Font size: 13-15 for code readability
- Theme: match VS Code/Zed theme for consistency
- Scrollback: 10000 lines minimum for Claude Code output
- Cursor: block with blinking for visibility
- Key bindings: Cmd+C/V for copy/paste on macOS
- Use tmux prefix for pane management
Workflow Example
You want to configure Alacritty optimally for Claude Code sessions. Prompt Claude Code:
“Configure Alacritty with JetBrains Mono font at size 14, a dark theme matching VS Code Dark+, 10000 lines of scrollback, and key bindings for copy and paste on macOS.”
Claude Code should create ~/.config/alacritty/alacritty.toml with [font] section for JetBrains Mono, [colors] section matching VS Code Dark+, [scrolling] with history 10000, and [[keyboard.bindings]] for Cmd+C and Cmd+V mapped to copy/paste selections.
Common Pitfalls
-
Old config format breaks on update. Claude writes YAML or JSON config from old documentation. Alacritty migrated to TOML — old format files are silently ignored. Check
alacritty --versionand use the matching config format. -
Missing font fallback. Claude sets only one font without fallback. If JetBrains Mono is not installed, Alacritty falls back to a system font that may not render code well. Configure fallback fonts or ensure the primary font is installed.
-
Scrollback buffer too small for Claude Code. Claude uses the default scrollback (1000 lines). Claude Code output can be very long. Set
[scrolling] history = 10000or higher to ensure you can scroll back through complete outputs.