Skip to content

Ricky2333/claude-code-4x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

claude-code-4x

Split one iTerm2 window into 4 panes, each running claude Code. One click, four Claudes.

┌─────────────┬─────────────┐
│   claude    │   claude    │
│  (top-left) │ (top-right) │
├─────────────┼─────────────┤
│   claude    │   claude    │
│ (bottom-left)│(bottom-right)│
└─────────────┴─────────────┘

Prerequisites

  • macOS (uses AppleScript)
  • iTerm2 terminal emulator
  • Claude Code (claude command available in PATH)

Installation

Option 1: Clone and install

git clone https://github.com/Ricky2333/claude-code-4x.git
cd claude-code-4x

# Copy the script to your PATH
cp claude-code-4x ~/bin/   # or /usr/local/bin/

# (Optional) Install the macOS app bundle
cp -r claude-code-4x.app /Applications/

Option 2: Direct download

Download claude-code-4x (the shell script) and place it anywhere in your $PATH.

Usage

From terminal

claude-code-4x

From Finder

Double-click claude-code-4x.app (if installed to /Applications).

Both methods open a new iTerm2 window with 4 panes, each automatically running claude.

How it works

The script uses AppleScript to tell iTerm2 to:

  1. Create a new window
  2. Split it vertically into left/right halves
  3. Split each half horizontally into top/bottom
  4. Run claude in each of the 4 resulting panes

That's it - no dependencies beyond iTerm2's built-in AppleScript support.

License

MIT

About

Split one iTerm2 window into 4 panes, each running Claude Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages