← 开源

Universal Rust multiplexer with a typed SDK — drive any CLI or TUI app from code. Native on Linux, macOS, and Windows.

InfrastructureMake world agent-readyRust
增长势头
+124 小时新增 Star+0.0%
2.71k
Star
189
Fork
+7
本周
16
贡献者
创建于 2026-05-15 · 更新于 2026-12-05 · 今日第 4744 名
主要开发者
shideneyumohittJonhvmp
README

The Universal Multiplexer Engine.

English · Français · 简体中文 · 日本語


Note

RMUX 0.11.0 is out. Release notes.

If you have a feature request or want to report anything, please file an issue.

🧭 What is RMUX?

RMUX is an async, typed terminal multiplexer engine written in Rust. It implements 90+ tmux commands and runs natively on Linux, macOS, and Windows with no WSL required.

Use it as a standalone CLI, embed it in Rust terminal apps, or automate it through the Rust SDK.

✨ Features

  • Rust SDK: create sessions, control panes, read output and wait for terminal state.
  • Native cross-platform runtime: Linux, macOS, and Windows backends.
  • tmux-compatible command surface: 90+ commands covered by focused compatibility tests.
  • Web Share (experimental): share a terminal in a browser with end-to-end encryption.
  • Ratatui widget: render live RMUX panes inside Rust terminal applications.
  • Local daemon architecture: shells, panes, windows, sessions, and scrollback stay on your machine.

🚀 Quick Start

rmux list-commands
rmux new-session --help
rmux split-window --help
rmux web-share --help
rmux diagnose --human

Use rmux -V for the installed version.

🎬 Demos


Multi Agents Orchestration
≃ 514 lines

Agent Broadcast Arena
≃ 2,171 lines

Mini-Zellij
≃ 944 lines

Terminal Automation
≃ 1,495 lines

📦 Installation

Platform / manager Command
/ Homebrew brew install Helvesec/rmux/rmux
/ WinGet (0.11 pending) winget install rmux
/ Scoop scoop bucket add rmux https://github.com/Helvesec/scoop-rmux && scoop install rmux
/ Chocolatey choco install rmux
/ APT See the APT setup guide
/ DNF See the DNF setup guide
/ Nix nix profile install github:Helvesec/rmux/v0.11.0
/ Cargo cargo install rmux --version 0.11.0 --locked

Direct downloads (.tar.gz, .deb, .rpm, .zip) are available from the v0.11.0 release. Keep the full archive together and run its install.sh or install.ps1.

The Homebrew tap, APT, DNF, Scoop, Cargo and Chocolatey provide 0.11.0. WinGet and Homebrew Core are still on 0.10.0. Use the tap or direct download while their updates are pending. See Windows setup for ZIP installation and removal.

🤝 Claude Teammate Mode

Run Claude Code inside a local RMUX workspace with tmux teammate mode enabled.

rmux claude [args]
# e.g., rmux claude --dangerously-skip-permissions

RMUX opens an attached session and automatically passes --teammate-mode tmux along with your [args] straight to Claude.

RMUX handles Claude's tmux commands without changing your system tmux installation.

Install RMUX's user-level Claude Code skill when you want Claude to remember the RMUX CLI, SDK, web-share, and automation patterns outside this repository:

rmux claude install-skill

Note: Requires claude to be installed on your machine.

⚙️ Configuration

Put your configuration in ~/.rmux.conf on Linux/macOS or %USERPROFILE%\.rmux.conf on Windows. RMUX also reads tmux-style configuration.

See the configuration guide for examples, key bindings and file locations.

🌐 Web Sharing

Share a pane or session in a browser while commands keep running locally. Web Share is experimental.

rmux web-share -t work

Terminal output is end-to-end encrypted. For 0.11, keep the default local connection; remote access has not been validated for this release.

🧰 Scripting & API

The Rust SDK connects to your local RMUX server. Create sessions and panes, send input, read output, and wait for text or process events.

cargo add rmux-sdk@0.11.0

The Python and TypeScript packages target RMUX 0.6, not 0.11.

📚 Documentation

The full documentation is available at rmux.io/docs.

🏗️ Architecture

RMUX keeps shells, sessions, windows, panes, and PTY processes inside the local daemon. Local clients attach via IPC. Web Share exposes only the selected pane or session through an end-to-end encrypted WebSocket.

🧪 Verification

The workspace is designed to be checked from source with locked dependencies:

cargo fmt --all -- --check
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo test --workspace --locked --no-fail-fast
scripts/unsafe-check.sh

#![forbid(unsafe_code)] is used in the upper-level crates. OS and terminal boundary code is isolated in lower-level runtime crates.

⚖️ License

RMUX is dual-licensed under either:

at your option.

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载