{"repo":"craigsc/cmux","free":true,"listed":false,"github":"https://github.com/craigsc/cmux","clone":"git clone https://github.com/craigsc/cmux.git","description":"cmux: tmux for Claude Code","language":"Shell","stars":598,"topics":["claude","claude-code","git","terminal"],"license":"MIT","category":"cli-tools","readme_excerpt":"cmux — tmux for Claude Code Run a fleet of Claude agents on the same repo — each in its own worktree, zero conflicts, one command each. Claude Code works best when it has full ownership of the working directory. Want two agents working in parallel? They'll stomp on each other — conflicting edits, dirty state, broken builds. You need separate checkouts. Git worktrees are the perfect primitive for this. They share the same .git database but give each agent its own directory tree — no cloning, no syncing, branches stay in lockstep. cmux wraps the entire worktree lifecycle into single commands so you can spin agents up, jump between them, and tear them down without thinking about it. You wanna go fast without losing your goddamn mind. This is how. Install Then add .worktrees/ to your .gitignore : Quick start That's it. One command, one agent, fully isolated. See Workflow for the full loop. Commands Command What it does --------- ------------- cmux new [--from ] Create new worktree + branch, run setup hook, launch Claude cmux start Continue where you left off in an existing worktree cmux cd [branch] cd into a worktree (no args = repo root) cmux ls List active worktrees cmux merge [branch] [--squash] Merge worktree branch into your primary checkout (no args = current worktree) cmux rm [branch \\ --all] Remove a worktree and its branch (no args = current, --all = every worktree with confirmation) cmux init [--replace] Generate .cmux/setup hook using Claude ( --replace to regenerate) ","default_branch":null,"files":null,"tree":[],"storefront":"/r/craigsc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/craigsc/cmux/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}