whatisgithub

What is tmux-claude-code?

codermungan/tmux-claude-code — explained in plain English

Analysis updated 2026-05-18

1ShellAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

A bash-only tmux plugin that lets you browse, jump to, and resume your Claude Code sessions from a popup inside tmux.

Mindmap

mindmap
  root((repo))
    What it does
      Browse Claude sessions
      Jump to live pane
      Resume idle sessions
    Tech stack
      Shell
      Bash
      tmux
      jq
    Use cases
      Fast session switching
      Resume old sessions
      Status bar session counts
    Audience
      Claude Code users
      tmux power users
      Developers
    Setup
      TPM or manual clone
      tmux 3.2 plus
      Optional jq and fzf

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Jump quickly back into a Claude Code session that is already running in another tmux pane.

USE CASE 2

Resume an idle or recent Claude Code session from disk without hunting for the session id manually.

USE CASE 3

Show a live count of active, recent, and idle Claude Code sessions in your tmux status bar.

What is it built with?

ShellBashtmuxjqfzf

How does it compare?

codermungan/tmux-claude-code100/dotfilesabdellaouiamir/palworld-server
Stars111
LanguageShellShellShell
Last pushed2016-11-18
MaintenanceDormant
Setup difficultyeasyeasymoderate
Complexity2/51/53/5
Audiencedeveloperdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires tmux 3.2 or newer for the popup feature, jq and fzf are optional for richer titles and search.

MIT license: free to use, modify, and distribute for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

tmux-claude-code is a bash-only tmux plugin for browsing, tracking, and resuming Claude Code sessions from inside tmux. It combines two sources of information: tmux panes that currently have Claude Code running in them, and the local session transcripts that Claude Code stores on disk under the projects folder in your home directory. That gives you a single browser covering sessions already open in a pane, sessions you touched recently, and older sessions that have gone idle. Opening the popup with a keyboard shortcut, prefix plus C by default, shows a list of sessions with a colored status dot, the session title, its project directory, and its git branch. Green means the session already has a live tmux pane open, yellow means it was touched recently, and gray means it has gone idle. If fzf is installed, the popup supports fuzzy searching, and if not, it falls back to a plain numbered menu. Selecting a session either jumps straight to the pane that already has it open, or runs claude with the resume flag in a new tmux window or split pane if it is not currently open anywhere. The plugin also offers an optional status line segment you can add to your existing tmux status bar, showing counts of total, active, recent, and idle sessions. Behind the scenes, it reads each Claude Code session's stored JSONL transcript to get its working directory, git branch, last activity time, and a title pulled from the session summary or first user prompt, using jq for that when it is available and falling back gracefully when it is not. Installing it works either through the Tmux Plugin Manager or by cloning the repository manually into your tmux plugins folder and pointing tmux at its entry script. Requirements are tmux 3.2 or newer, bash, and the claude CLI on your path, with jq and fzf as optional extras for richer titles and fuzzy search. The plugin only reads local tmux and Claude Code metadata and does not send any data anywhere. It is licensed under MIT.

Copy-paste prompts

Prompt 1
Help me install tmux-claude-code with TPM and set a custom key binding for the popup.
Prompt 2
Show me how to add the claude-status.sh segment to my tmux status-right.
Prompt 3
Walk me through configuring @claude-recent-minutes and @claude-max-sessions for my workflow.
Prompt 4
Explain how this plugin matches a live tmux pane to a stored Claude Code session transcript.

Frequently asked questions

What is tmux-claude-code?

A bash-only tmux plugin that lets you browse, jump to, and resume your Claude Code sessions from a popup inside tmux.

What language is tmux-claude-code written in?

Mainly Shell. The stack also includes Shell, Bash, tmux.

What license does tmux-claude-code use?

MIT license: free to use, modify, and distribute for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is tmux-claude-code to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is tmux-claude-code for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.