Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>tmux HubNew to Visual Studio Code? Get it now.
tmux Hub

tmux Hub

RainXD

| (0) | Free
Multi-session tmux hub for VS Code terminals — manage multiple persistent tmux sessions, sidebar tree view, auto-install tmux, code-command support, and Copilot compatibility
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

tmux Hub

Multi-session tmux integration for VS Code terminals using tmux control mode (tmux -CC).

Manage multiple persistent tmux sessions side by side in VS Code, browse all sessions and windows from a dedicated sidebar TreeView, and automatically install tmux when it is missing.

Features

  • Multi-Session Management: Connect to and run multiple tmux sessions simultaneously — terminal tabs from different sessions coexist cleanly in VS Code without closing each other.
  • tmux Hub Sidebar TreeView: Browse all tmux sessions and their windows in the Activity Bar, click any window to open or focus it, and create, switch, attach, rename, or kill sessions and windows directly from the sidebar.
  • Status Bar Session Switcher: See your active session and total session count in the status bar; click to switch sessions, create a new session, or attach windows.
  • Automatic tmux Installation: When tmux is not found on macOS or Linux, tmux Hub prompts to install it automatically using your system package manager (brew, port, apt-get, dnf, yum, pacman, apk, zypper, pkg) — silently in the background when passwordless, or in an integrated terminal when sudo requires a password.
  • Seamless VS Code Terminal Integration:
    • Persistent sessions that survive VS Code restarts, reloads, and Remote-SSH disconnects.
    • Full VS Code shell integration and Copilot compatibility.
    • code <file> and git credential helper forwarding into every tmux session.
    • Bidirectional tab/window rename synchronization.

Requirements

  • macOS, Linux, Remote-SSH, or WSL (Windows Subsystem for Linux).
  • tmux ≥ 2.1 (3.x recommended). If missing, tmux Hub can install it automatically.

Commands

Command Description
tmux: New tmux Session Create a new tmux session, switch to it, and open its initial terminal
tmux: Switch tmux Session Switch active default session or create a new one via QuickPick
tmux: Open All Windows in Session Attach and open all windows of a session as VS Code terminal tabs
tmux: Rename tmux Session Rename an existing tmux session
tmux: Kill tmux Session Terminate a tmux session
tmux: New tmux Terminal Open a new tmux window in the active session
tmux: New Terminal in Session Open a new tmux window in a chosen session
tmux: Attach to tmux Window Attach an unattached tmux window from the active session
tmux: Rename tmux Terminal Rename the active tmux window / VS Code tab
tmux: Install tmux Automatically Detect and install tmux automatically

Settings

  • tmux-hub.autoInstall (default: true): Prompt to automatically install tmux when not found.
  • tmux-hub.autoConnect (default: true): Automatically connect to the workspace's existing tmux session on startup.
  • tmux-hub.sessionName (default: ""): Override the default workspace tmux session name.
  • tmux-hub.shell (default: ""): Shell to use inside tmux panes (defaults to $SHELL or /bin/bash).
  • tmux-hub.cwd (default: ""): Starting directory for new tmux terminals (supports ${workspaceFolder}).
  • tmux-hub.showAutomaticRename (default: false): Track tmux's automatic window name in the terminal tab.
  • tmux-hub.closeStrayShellsOnActivation (default: true): Dispose stray non-tmux shell tabs spawned before activation when tmux Hub is set as the default terminal profile.

License & Attribution

Licensed under GPL-3.0-only (see LICENSE).

Built upon pcassidy75/tmux-integrated with multi-session management, sidebar TreeView, and automatic tmux installation.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft