This article was originally published on maoxunxing.com.
Today I want to talk about something every developer uses daily, but few people really think deeply about: the command line.
On macOS, the classic setup has long been:
iTerm2 + Oh My Zsh
iTerm2 gives you a better terminal experience—tabs, panes, profiles—while Oh My Zsh makes Zsh more usable with plugins, themes, and autocomplete.
This setup worked extremely well.
But in the age of AI, the role of the terminal is changing.
It’s no longer just a place to “run commands.”
It’s becoming a development entry point:
You run projects, inspect logs, manage Git, launch AI agents, and even let AI modify your code—all inside the terminal.
So the real question is:
In the AI era, what terminal tools should we actually be using?
The key insight is this:
You shouldn’t think in terms of a single tool—you should think in layers.
- Terminal Emulator → iTerm2, Ghostty, Warp
- Shell → Zsh, Fish, Bash
- Workflow Tools → tmux, LazyGit, fzf
- AI Layer → Warp AI, Claude Code, Codex CLI, Gemini CLI
What you’re really building is a terminal workflow system, not picking a single app.
1. iTerm2: Stable, Mature—but Not AI-Native
If you’re on macOS, iTerm2 is still a very solid choice.
Its strengths are obvious:
- Mature and stable
- Rich features (split panes, tabs, profiles, shortcuts)
- Highly customizable
But it follows a traditional model:
It’s optimized for humans typing commands, not AI-assisted workflows.
If your workflow is still:
- Running services
- SSH
- Git commands
- Logs
Then iTerm2 is more than enough.
But if you’re heavily using AI tools like Cursor, Claude Code, Codex CLI, or Gemini CLI, iTerm2 itself doesn’t give you much AI leverage.
Verdict:
iTerm2 is perfect for conservative users—stable, reliable, no surprises.
2. Oh My Zsh: Powerful, but Easy to Overdo
Oh My Zsh is often the first upgrade people install.
It’s a community-driven framework with:
- 300+ plugins
- 140+ themes
- Built-in Git integrations
It makes Zsh much easier to use out of the box.
But there’s a trap:
You can easily over-configure it.
Too many plugins → slower startup → harder debugging.
The command line should increase efficiency—not become a hobby.
My take:
Use it, but keep it minimal.
Only keep what actually helps:
- Git plugin
- Autosuggestions
- Syntax highlighting
3. Fish: A More Modern Shell Experience
Fish is a very underrated option.
Its philosophy is simple:
Make the shell good by default.
Out of the box, Fish gives you:
- Syntax highlighting
- Smart autocomplete
- Inline suggestions
- Better tab completion
You don’t need heavy configuration.
This is a big deal.
Zsh is powerful—but often requires setup.
Fish feels like a modern shell from day one.
The downside:
- Not fully POSIX-compatible
- Some scripts may not run directly
Best use case:
Use Fish for daily interaction, and Bash/Zsh for scripting.
4. Ghostty: Fast, Clean, and Native
Ghostty is one of my current favorites.
It’s not an AI tool—it’s a modern terminal emulator.
Its core strengths:
- Extremely fast
- Lightweight
- Native UI (not Electron-heavy)
- Great pane management
Ghostty doesn’t try to define your workflow.
It just gives you a high-performance container.
You can plug in whatever you want:
- Fish or Zsh
- tmux
- Neovim
- Claude Code / Codex CLI
The downside:
- No built-in AI layer
You need to bring your own tools.
Verdict:
Ghostty is ideal if you want speed, control, and flexibility.
5. Warp: The AI-Native Terminal
Warp is not just a terminal—it’s an AI development environment.
It’s designed for what people now call agentic development.
Warp integrates:
- Built-in AI assistance
- Command explanations
- Error summarization
- Smart command generation
And it supports external agents like:
- Claude Code
- Codex CLI
- Gemini CLI
Recently, Warp also open-sourced its client, signaling a strong push toward becoming an AI-first terminal platform.
Why Warp stands out:
- AI deeply integrated
- Modern UI (block-based instead of raw text stream)
- Lower barrier for beginners
Downsides:
- Heavier than traditional terminals
- Opinionated workflow
- Can make you overly reliant on AI
Verdict:
Warp is for people who want their terminal to be an AI workspace.
6. tmux: Old-School, Still Powerful
tmux is a classic.
It lets you:
- Run multiple sessions
- Detach and reattach
- Keep processes alive remotely
It’s especially useful for:
- SSH workflows
- Long-running tasks
- Server environments
The downside:
- Steep learning curve
- Keyboard-heavy mental model
Recommendation:
Skip tmux for local dev—but it’s still essential for remote work.
7. LazyGit: The Git Productivity Booster
LazyGit is a terminal UI for Git.
Instead of memorizing commands, you get:
- Visual diff
- Easy staging
- Commit management
- Branch control
It sits between:
- Raw CLI (too manual)
- GUI tools (too detached)
It’s perfect for developers who:
- Use Git frequently
- Want speed without losing control
But remember:
LazyGit doesn’t replace Git knowledge—it amplifies it.
8. So What Should You Use?
Here are three practical setups:
1. Conservative Setup
iTerm2 + Oh My Zsh + LazyGit
- Stable
- Familiar
- Low friction
Perfect for most developers.
2. Lightweight Setup (My Preference)
Ghostty + Fish + LazyGit
- Fast and clean
- Minimal configuration
- Flexible AI integration
Core idea:
Keep the terminal light, plug in AI tools when needed.
3. AI-Native Setup
Warp + AI Agents + LazyGit
- Deep AI integration
- Command intelligence
- Modern workflow
Core idea:
Turn your terminal into an AI workspace.
9. My Personal Choice
If I had to summarize:
- Stick with iTerm2 → if you want stability
- Use Ghostty → if you want speed and simplicity
- Try Warp → if you want AI-first workflows
Shell-wise:
- Use Fish → for better UX
- Use Zsh → if you’re already invested
And always:
Install LazyGit—it’s worth it.
Final Thought
The terminal isn’t going away.
If anything, it’s becoming more important.
Because AI agents ultimately:
- Run commands
- Read files
- Modify code
- Execute workflows
The terminal used to be:
A bridge between humans and machines
Now it’s becoming:
A shared workspace between humans, AI, and machines
So choosing your terminal is no longer about picking a “black window.”
It’s about choosing how you work.
And in the AI era, that choice matters more than ever.