A modern Rust terminal multiplexer for local shells, long-running agents, typed automation, and browser-shared terminal sessions.
English · Français · 简体中文 · 日本語
[!IMPORTANT] Current release: v0.4.1, published on 3 June 2026. This release brings Web Multiplex (Web Share), RMUX's web multiplexing feature: share a pane or session in a browser with
rmux web-share, keep the PTY local, and relay only end-to-end encrypted terminal frames.RMUX is still moving fast. If you hit a bug, a platform edge case, or have a feature request, please file an issue. Reports are welcome.
Demos
Short, real examples of what RMUX can be used for.
RMUX
RMUX is a modern Rust multiplexer built on async principles with Tokio. It supports over 90 tmux commands natively across macOS, Linux, and Windows — no WSL required.
Designed for the agentic AI era, it features a public Rust SDK to build and script anything you can imagine. Use it as a normal multiplexer, a daemon-backed terminal runtime, a typed automation layer, or the terminal substrate for your own tools.
RMUX also enables web multiplexing: with one seamless command, rmux web-share, you can beam any pane or session directly to the web. Bring your own domain. Host the static frontend anywhere; terminal data stays end-to-end encrypted with a hybrid post-quantum key exchange, even through blind tunnels.
Web Multiplex (Web Share)
# Start a local Web Share over loopback
# Share a named session
# Share beyond localhost
Use a tunnel provider, bring your own ingress, or host the static frontend on your own domain.
Useful entry points:
Install
Choose your platform:
Linux
Portable installer:
|
Direct downloads are available from the v0.4.3 GitHub Release:
rmux-0.4.1-linux-x86_64.tar.gzrmux_0.4.1_amd64.debrmux-0.4.1-1.x86_64.rpm
macOS
Portable installer:
|
Direct downloads are available from the v0.4.3 GitHub Release:
rmux-0.4.1-macos-aarch64.tar.gzrmux-0.4.1-macos-x86_64.tar.gz
Windows
PowerShell installer:
irm https://rmux.io/install.ps1 | iex
Direct downloads are available from the v0.4.3 GitHub Release:
rmux-0.4.1-windows-x86_64.zip
SHA256 checksums are published with every GitHub Release. APT, DNF, Homebrew, WinGet, Scoop, and Chocolatey metadata is prepared for each release and published separately once the corresponding repositories are live.
Rust / Cargo
This path works on Linux, macOS, and Windows.
Install Rust if you do not already have it:
|
Then install RMUX from crates.io:
For Rust applications:
Documentation
The full RMUX documentation is available at rmux.io/docs.
It includes:
For an ergonomic, human-oriented profile that keeps native terminal selection intuitive while adding easier split bindings and clipboard integration, see docs/human-friendly-config.md.
CLI Quickstart
Use command help locally:
Use rmux -V for the RMUX package version. For build and support details, use rmux diagnose --human or rmux diagnose --json.
SDK Quickstart
[]
= "0.4"
= { = "1", = ["rt-multi-thread", "macros"] }
use Duration;
use ;
async
Ratatui Widget
use ;
use ;
use PaneSnapshot;
Architecture
Three public surfaces — the rmux CLI, the rmux-sdk Rust crate, and the ratatui-rmux widget — share one local protocol to talk to the daemon. Anything one surface can do, the others can do too.
Workspace
| Crate | Role | Publication |
|---|---|---|
rmux-types |
Shared platform-neutral value types | public |
rmux-proto |
Detached IPC DTOs, framing, wire-safe errors | public |
rmux-os |
Small OS boundary helpers | public |
rmux-ipc |
Local IPC endpoints and transports | public |
rmux-sdk |
Daemon-backed Rust SDK | public |
ratatui-rmux |
Ratatui integration widget | public |
rmux-web-crypto |
Web Share E2EE core and WASM crypto boundary | public |
rmux-pty |
PTY allocation, resize, child process control | support crate |
rmux-core |
Sessions, panes, layouts, formats, hooks, buffers | support crate |
rmux-server |
Tokio daemon and request dispatch | support crate |
rmux-client |
Local IPC client and attach plumbing | support crate |
rmux |
CLI and hidden daemon entrypoint | public binary |
rmux-render-core |
Shared snapshot rendering core | workspace-internal |
Platform Support
| Platform | PTY backend | IPC backend | Default endpoint |
|---|---|---|---|
| Linux | Unix PTY | Unix socket | /tmp/rmux-{uid}/default |
| macOS | Unix PTY | Unix socket | /tmp/rmux-{uid}/default |
| Windows | ConPTY | Named pipe | per-user named pipe |
Configuration
On Linux and macOS, RMUX reads .rmux.conf from the standard system and user locations:
/etc/rmux.conf~/.rmux.conf$XDG_CONFIG_HOME/rmux/rmux.conf~/.config/rmux/rmux.conf
On Windows, RMUX reads .rmux.conf from:
%XDG_CONFIG_HOME%\rmux\rmux.conf%USERPROFILE%\.rmux.conf%APPDATA%\rmux\rmux.conf%RMUX_CONFIG_FILE%
tmux.conf migration fallback
When RMUX starts with the default config search and no RMUX config file is loaded, it can import a filtered tmux.conf as a migration fallback. Explicit config loading with -f does not use this fallback.
Fallback paths:
- Linux and macOS:
/etc/tmux.conf,~/.tmux.conf,$XDG_CONFIG_HOME/tmux/tmux.conf,~/.config/tmux/tmux.conf - Windows:
%XDG_CONFIG_HOME%\tmux\tmux.conf,%USERPROFILE%\.tmux.conf,%APPDATA%\tmux\tmux.conf
The import is intentionally narrow: RMUX keeps supported static options and key unbindings, but skips tmux key bindings, environment or terminal capability mutations, plugin user options and hooks, shell commands, command blocks, conditionals, format jobs such as #(cmd), recursive source-file entries, and unsupported options instead of executing them. Set RMUX_DISABLE_TMUX_FALLBACK=1 to disable it entirely.
Terminal Compatibility Notes
RMUX works with shells that query terminal capabilities, including fish. It answers terminal device-attribute probes and handles Escape-key timing so fish prompts and key sequences behave normally inside RMUX panes.
Graphics passthrough is available for outer terminals that support Kitty graphics or SIXEL. RMUX detects Kitty graphics for Kitty, Ghostty, and WezTerm, and detects SIXEL for terminals such as foot, mintty, mlterm, and WezTerm. It is opt-in:
set -g allow-passthrough on
The tmux value all is accepted for configuration compatibility. RMUX renders the attached pane, so all currently behaves like on rather than adding passthrough for unattached panes.
If your terminal supports either protocol but is not detected automatically, add a terminal feature override:
set -as terminal-features 'xterm-kitty:kitty-graphics'
set -as terminal-features 'xterm*:sixel'
SIXEL passthrough is covered by the automated Unix PTY attach regression suite. On Windows, RMUX enables modern ConPTY passthrough when the OS supports it, but SIXEL display still depends on the outer terminal. Set RMUX_CONPTY_NO_PASSTHROUGH=1 to disable that backend mode for troubleshooting.
Verification
The workspace is designed to be checked from source with locked dependencies:
Additional local checks:
Release artifact checks are driven by:
#![forbid(unsafe_code)] is used in the upper-level crates. OS and terminal boundary code is isolated in the lower-level runtime crates.
License
RMUX is dual-licensed under either:
at your option.