Skip to content

How btmux works

The server runs your shells. Each desktop window or browser tab is a client. Reconnect from any client while the server is running to resume your session.

The desktop app can start its own server. You can also connect to a server on another machine.

A session groups windows, which work like tabs. Each window contains one or more panes, each with its own shell.

  • Clients viewing the same session share its active window, active pane, and terminal output. The color scheme is shared across all clients.
  • Each client chooses its own session.
  • Pane size follows the client that last typed, pasted, or clicked in the pane.
You do this Layout Running programs Scrollback
Close a browser tab Kept Kept Kept
btmux upgrade to a new version Kept Kept Kept
Restart the server, or reboot Kept Lost Lost
Close the last desktop window (its own server) Kept Lost, unless you keep it running Lost, likewise

After a restart, each pane starts a fresh shell in the directory it was in. See how in-place upgrades work.

The editors and the browser cover the active pane. The file browser, process viewer, and agent view open as dialogs.

Browsers sign in with the server’s access token. The desktop app handles sign-in for you. Use profiles to run servers with separate sessions.