nmux-linux is an open-source project that brings a cmux-style multi-project workspace to Linux using plain tmux. The motivation comes directly from agentic coding: while an AI agent spends several minutes working on one repository, developers switch to other projects, and managing multiple concurrent agent runs cleanly inside raw Linux/tmux sessions gets clunky.

On smaller laptops or remote SSH boxes, screen real estate and RAM are tight. After seeing a desktop GUI multiplexer consume 63GB on a 64GB machine, the author built a terminal-native multi-project interface targeting a total footprint under 2GB over plain SSH.

Screen Layout

The layout divides a single tmux session into three panes per project, mapping each project to its own tmux window:

RegionRoleKey Capabilities
Left sidebarProject list and live statusShows open projects, closed projects, and a new-project entry point
Center main coding panePrimary work terminalRuns Codex, Claude Code, or omx
Right status/preview paneAuxiliary viewRenders URL previews, opens external browsers, and runs custom commands

Lowering context-switch friction is the whole point: instead of hunting through detached terminal tabs, you check agent status in the sidebar and jump straight there. Enabling tmux mouse mode lets you switch, open, and close project windows with clicks.

Core Features

  1. One tmux window per project: keeps long-running AI agent sessions alive in the background while you jump across repositories.
  2. Clickable sidebar: lists active and closed projects side by side with a quick launcher for new workspaces.
  3. Live task status badges: surfaces running, completed, failed, and input-required states in the sidebar - the first signal you need when juggling parallel agents.
  4. Reduced sidebar flicker: avoids full-screen clears and refreshes via synchronized output so frequent status ticks stay readable.
  5. Right-hand preview/webview MVP: handles URLs and shell output in the right pane via nmux-linux preview <url>, preview --external <url>, and preview --cmd '<cmd>'.
  6. Session state persistence: saves the open project list and restores it on the next launch.

Integration with omx, Claude Code, and Codex

Agent-specific wiring gets dedicated attention. When omx hud --watch spawns extra bottom panes, clean-omx-hud and fix-layout tidy up the layout. nmux-linux status inspects session and pane health, while nmux-linux init --force rescans project directories.

Claude Code hooks push start, completion, and alert states straight to the sidebar, while Codex and omx integrations suppress duplicate HUD panes and clean up stale ones. Requirements stay minimal: Linux, tmux 3.0+, Node.js, and bash, with optional helpers like notify-send, paplay, w3m-family text browsers, and xdg-open.

Rather than trying to replace an IDE, nmux-linux acts as a lightweight terminal mission control for developers running parallel Codex or Claude Code jobs over SSH.

Summary

  • nmux-linux builds a lightweight cmux-style multi-project workspace on Linux and tmux.
  • Each project maps to a tmux window split across a sidebar, main coding pane, and preview pane.
  • Sidebar badges track running, completed, failed, and input-needed states across concurrent AI agents.
  • Built-in preview commands, state restoration, clean-omx-hud, fix-layout, and Claude Code/Codex/omx hooks keep layouts tidy.
  • Well suited for remote SSH servers and memory-constrained laptops where heavy GUI clients get in the way.