rmux new-session -d -s ci
rmux send-keys -t ci "printf 'test result: ok\n'; rmux wait-for -S ci-done" Enter
rmux wait-for ci-done
rmux capture-pane -p -t ci
The multiplexer engine forAgents.
RMUX keeps terminal sessions alive and scriptable. Use it as a tmux-compatible multiplexer, or drive persistent shells from Rust, Python, or TypeScript.
Natively available on Windows , macOS , and Linux .
Usable like tmux, automated like Playwright.
let rmux = Rmux::builder().connect_or_start().await?;
let session = rmux
.ensure_session(
EnsureSession::try_named("ci")?
.create_or_reuse()
.detached(true),
)
.await?;
let pane = session.pane(0, 0);
pane.send_text("printf 'test result: ok\n'\n").await?;
pane.wait_for_text("test result: ok").await?;
let snapshot = pane.snapshot().await?;
from librmux import RMUX
rmux = RMUX.builder().connect_or_start()
session = rmux.ensure_session("ci")
pane = session.pane(0, 0)
pane.send_text("printf 'test result: ok\n'\n")
pane.wait_for_text("test result: ok")
snapshot = pane.snapshot()
import { RMUX } from "@rmux/sdk";
const rmux = await RMUX.builder().connectOrStart();
const session = await rmux.ensureSession("ci", {
detached: true,
});
const pane = session.pane(0, 0);
await pane.sendText("printf 'test result: ok\n'\n");
await pane.waitForText("test result: ok");
const snapshot = await pane.snapshot();
Install it your way.
Pick an OS, then choose an installer. Live methods copy real commands; greyed methods are coming soon. GitHub release binaries include SHA256 checksums.
winget install rmuxirm https://rmux.io/install.ps1 | iexcargo install rmux --lockedscoop bucket add rmux https://github.com/Helvesec/scoop-rmux
scoop install rmuxchoco install rmuxcurl -fsSL https://rmux.io/install.sh | shcargo install rmux --lockedbrew install rmuxcurl -fsSL https://rmux.io/install.sh | shcurl -fsSL https://packages.rmux.io/debian/rmux.asc | sudo tee /usr/share/keyrings/rmux.asc >/dev/null
echo "deb [signed-by=/usr/share/keyrings/rmux.asc] https://packages.rmux.io/debian stable main" | sudo tee /etc/apt/sources.list.d/rmux.list
sudo apt update
sudo apt install rmuxsudo dnf config-manager addrepo --from-repofile=https://packages.rmux.io/rpm/rmux.repo
sudo dnf install rmuxcargo install rmux --lockedyay -S rmuxDirect downloads and checksums Release metadata
RMUX also ships official SDKs: Rust with rmux-sdk, and Python with
librmux,
available on PyPI,
and TypeScript with
@rmux/sdk,
available on npm.
Switch to RMUX with ONE letter.
Same 90 commands. Aiming for same behaviour, same look.
When the keyboard is the user, tmux still fits. When code is the user, RMUX takes over.
DEMOS
Explore the demos
See RMUX in action through concrete terminal automation workflows.
Coordinate several terminal workers through one rmux session.
View source on GitHub